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 | |
parent | Merge branch 'jn/doc-dashdash' (diff) | |
parent | rebase: do not print lots of usage hints after an obvious error message (diff) | |
download | tgif-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-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 ;; *) |