mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
improved pre-push test script
This commit is contained in:
parent
c35255b7a9
commit
a4beabf4b9
1 changed files with 6 additions and 3 deletions
|
@ -16,7 +16,10 @@ read username
|
|||
echo -n "Password for 'github': "
|
||||
read password
|
||||
|
||||
# echo "failed"
|
||||
# exit 1
|
||||
if [ "$username" = "username" -a "$password" = "password" ]; then
|
||||
echo "success"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 0
|
||||
>&2 echo "incorrect username/password"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue