diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-07-13 14:31:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-07-13 14:31:38 -0700 |
commit | 55272570dbe1c3f2a6f2f142c4bfe806665cd111 (patch) | |
tree | 3d2a04580f4b262666e39fb7172e02ce540a8587 /git-rebase.sh | |
parent | af52e6b06ad108aa372fcc8432f1c449eeb5a34b (diff) | |
parent | 34840db83495e2112150e55bd7c36b0098d4824e (diff) | |
download | git-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-x | git-rebase.sh | 3 |
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 ;; *) |