mirror of
https://github.com/git/git.git
synced 2025-04-18 09:04:27 +00:00
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
This commit is contained in:
commit
55272570db
@ -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
|
||||
;;
|
||||
*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user