summaryrefslogtreecommitdiff
path: root/git-push.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-12-14 17:30:03 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2005-12-14 17:30:03 -0800
commit1ed91937e5cd59fdbdfa5f15f6fac132d2b21ce0 (patch)
treef65b929c006c31043213152752ea0c80bf08b9e5 /git-push.sh
parentGIT 0.99.9m aka 1.0rc5 (diff)
parentgit rebase loses author name/email if given bad email address (diff)
downloadtgif-1ed91937e5cd59fdbdfa5f15f6fac132d2b21ce0.tar.xz
GIT 0.99.9n aka 1.0rc6
Oh, I hate to do this but I ended up merging big usage string cleanups from Fredrik, git-am enhancements that made a lot of sense for non mbox users from HPA, and rebase changes (done independently by me and Lukas) among other things, so git is still in perpetual state of 1.0rc. 1.0 will probably be next Wednesday, but who knows. Signed-off-by: Junio C Hamano <junkio@cox.net>
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 140c8f85d5..1c5cf80f87 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