mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-23 12:18:51 +02:00
improved pre-push test script
This commit is contained in:
parent
c35255b7a9
commit
a4beabf4b9
@ -16,7 +16,10 @@ read username
|
|||||||
echo -n "Password for 'github': "
|
echo -n "Password for 'github': "
|
||||||
read password
|
read password
|
||||||
|
|
||||||
# echo "failed"
|
if [ "$username" = "username" -a "$password" = "password" ]; then
|
||||||
# exit 1
|
echo "success"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
>&2 echo "incorrect username/password"
|
||||||
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user