From: Stefan Beller Date: Tue, 1 Mar 2016 02:07:18 +0000 (-0800) Subject: submodule helper: remove double 'fatal: ' prefix X-Git-Tag: v2.9.0-rc0~159^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cdc04b65b4bc8094e082ac65a7dce75a7a990163;p=thirdparty%2Fgit.git submodule helper: remove double 'fatal: ' prefix The prefix is added by die(...), so we don't have to do it. Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index fd2b1684a7..9e8109e542 100644 --- a/builtin/submodule--helper.c +++ b/builtin/submodule--helper.c @@ -516,13 +516,13 @@ int cmd_submodule__helper(int argc, const char **argv, const char *prefix) { int i; if (argc < 2) - die(_("fatal: submodule--helper subcommand must be " + die(_("submodule--helper subcommand must be " "called with a subcommand")); for (i = 0; i < ARRAY_SIZE(commands); i++) if (!strcmp(argv[1], commands[i].cmd)) return commands[i].fn(argc - 1, argv + 1, prefix); - die(_("fatal: '%s' is not a valid submodule--helper " + die(_("'%s' is not a valid submodule--helper " "subcommand"), argv[1]); }