summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-07-13 21:31:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-07-13 21:31:38 (GMT)
commit55272570dbe1c3f2a6f2f142c4bfe806665cd111 (patch)
tree3d2a04580f4b262666e39fb7172e02ce540a8587
parentaf52e6b06ad108aa372fcc8432f1c449eeb5a34b (diff)
parent34840db83495e2112150e55bd7c36b0098d4824e (diff)
downloadgit-55272570dbe1c3f2a6f2f142c4bfe806665cd111.zip
git-55272570dbe1c3f2a6f2f142c4bfe806665cd111.tar.gz
git-55272570dbe1c3f2a6f2f142c4bfe806665cd111.tar.bz2
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
-rwxr-xr-xgit-rebase.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index d7855ea..4761f28 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
;;
*)