summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-07-13 14:31:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-07-13 14:31:38 -0700
commit55272570dbe1c3f2a6f2f142c4bfe806665cd111 (patch)
tree3d2a04580f4b262666e39fb7172e02ce540a8587
parentMerge branch 'jn/doc-dashdash' (diff)
parentrebase: do not print lots of usage hints after an obvious error message (diff)
downloadtgif-55272570dbe1c3f2a6f2f142c4bfe806665cd111.tar.xz
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 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
;;
*)