summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-07-13 14:31:38 -0700
committerJunio C Hamano <gitster@pobox.com>2011-07-13 14:31:38 -0700
commit55272570dbe1c3f2a6f2f142c4bfe806665cd111 (patch)
tree3d2a04580f4b262666e39fb7172e02ce540a8587 /git-rebase.sh
parentaf52e6b06ad108aa372fcc8432f1c449eeb5a34b (diff)
parent34840db83495e2112150e55bd7c36b0098d4824e (diff)
downloadgit-55272570dbe1c3f2a6f2f142c4bfe806665cd111.tar.gz
Merge branch 'js/rebase-typo-branch-squelch-usage'
* js/rebase-typo-branch-squelch-usage: rebase: do not print lots of usage hints after an obvious error message
Diffstat (limited to 'git-rebase.sh')
-rwxr-xr-xgit-rebase.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index d7855ea1c6..4761f28890 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -441,8 +441,7 @@ case "$#" in
then
head_name="detached HEAD"
else
- echo >&2 "fatal: no such branch: $1"
- usage
+ die "fatal: no such branch: $1"
fi
;;
*)