Skip to content

Commit

Permalink
Merge branch 'js/rebase-typo-branch-squelch-usage'
Browse files Browse the repository at this point in the history
* js/rebase-typo-branch-squelch-usage:
  rebase: do not print lots of usage hints after an obvious error message
  • Loading branch information
Junio C Hamano committed Jul 13, 2011
2 parents af52e6b + 34840db commit 5527257
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions git-rebase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
*)
Expand Down

0 comments on commit 5527257

Please sign in to comment.