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>

Stefan Beller committed Feb 29, 2016 at 18:07 UTC cdc04b65b4bc8094e082ac65a7dce75a7a990163
1 file changed +2 -2
builtin/submodule--helper.c
+2 -2
@@ -516,13 +516,13 @@ int cmd_submodule__helper(int argc, const char **argv, const char *prefix)
516 {
517 int i;
518 if (argc < 2)
519 - die(_("fatal: submodule--helper subcommand must be "
519 + die(_("submodule--helper subcommand must be "
520 "called with a subcommand"));
521
522 for (i = 0; i < ARRAY_SIZE(commands); i++)
523 if (!strcmp(argv[1], commands[i].cmd))
524 return commands[i].fn(argc - 1, argv + 1, prefix);
525
526 - die(_("fatal: '%s' is not a valid submodule--helper "
526 + die(_("'%s' is not a valid submodule--helper "
527 "subcommand"), argv[1]);
528 }