1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

improved pre-push test script

This commit is contained in:
Jesse Duffield 2018-12-18 21:27:39 +11:00
parent c35255b7a9
commit a4beabf4b9

View File

@ -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