Barf nicely when "git push" is run without parameter.
Saying "internal error" makes it look like my fault ;-). Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
5f5608bcec
commit
9a9cbb6e9f
@ -26,6 +26,10 @@ do
|
||||
esac
|
||||
shift
|
||||
done
|
||||
case "$#" in
|
||||
0)
|
||||
die "Where would you want to push today?" ;;
|
||||
esac
|
||||
|
||||
. git-parse-remote-script
|
||||
remote=$(get_remote_url "$@")
|
||||
|
Loading…
Reference in New Issue
Block a user