mirror of
https://github.com/git/git.git
synced 2025-01-27 09:53:42 +08:00
Merge branch 'ab/rebase-fatal-fatal-fix' into maint
Error message fix. * ab/rebase-fatal-fatal-fix: rebase: emit one "fatal" in "fatal: fatal: <error>"
This commit is contained in:
commit
9b338cbefd
@ -1918,7 +1918,7 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)
|
||||
&options.orig_head))
|
||||
options.head_name = NULL;
|
||||
else
|
||||
die(_("fatal: no such branch/commit '%s'"),
|
||||
die(_("no such branch/commit '%s'"),
|
||||
branch_name);
|
||||
} else if (argc == 0) {
|
||||
/* Do not need to switch branches, we are already on it. */
|
||||
|
Loading…
Reference in New Issue
Block a user