Skip to content

Commit 5527257

Browse files
committed
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
2 parents af52e6b + 34840db commit 5527257

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git-rebase.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,7 @@ case "$#" in
441441
then
442442
head_name="detached HEAD"
443443
else
444-
echo >&2 "fatal: no such branch: $1"
445-
usage
444+
die "fatal: no such branch: $1"
446445
fi
447446
;;
448447
*)

0 commit comments

Comments
 (0)