summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-10-12 13:51:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-12 13:51:27 -0700
commit9b338cbefdfada94f51075d9013f0c77d74f95a3 (patch)
tree8d023203ce1a1c64b0f65d17de904db478d91ffa
parentMerge branch 'ab/ls-remote-packet-trace' into maint (diff)
parentrebase: emit one "fatal" in "fatal: fatal: <error>" (diff)
downloadtgif-9b338cbefdfada94f51075d9013f0c77d74f95a3.tar.xz
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>"
-rw-r--r--builtin/rebase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/rebase.c b/builtin/rebase.c
index 33e0961900..66a0a0f0d0 100644
--- a/builtin/rebase.c
+++ b/builtin/rebase.c
@@ -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. */