aboutsummaryrefslogtreecommitdiff
path: root/git-push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-push.sh')
-rwxr-xr-xgit-push.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/git-push.sh b/git-push.sh
index 140c8f85d..1c5cf80f8 100755
--- a/git-push.sh
+++ b/git-push.sh
@@ -1,10 +1,7 @@
#!/bin/sh
-. git-sh-setup
-
-usage () {
- die "Usage: git push [--all] [--force] <repository> [<refspec>]"
-}
+USAGE='[--all] [--force] <repository> [<refspec>...]'
+. git-sh-setup
# Parse out parameters and then stop at remote, so that we can
# translate it using .git/branches information