summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-02-29 18:07:18 -0800
committerJunio C Hamano <gitster@pobox.com>2016-03-01 11:57:20 -0800
commitcdc04b65b4bc8094e082ac65a7dce75a7a990163 (patch)
treef75e3437d5c39818d3d4c1649c58f6ba2c57ae6a
parent48308681b072a1d32e1361c255347324a8ad151e (diff)
downloadgit-cdc04b65b4bc8094e082ac65a7dce75a7a990163.tar.gz
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 <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin/submodule--helper.c4
1 files changed, 2 insertions, 2 deletions
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]);
}