Skip to content

Commit cdc04b6

Browse files
stefanbellergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4830868 commit cdc04b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/submodule--helper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,13 +516,13 @@ int cmd_submodule__helper(int argc, const char **argv, const char *prefix)
516516
{
517517
int i;
518518
if (argc < 2)
519-
die(_("fatal: submodule--helper subcommand must be "
519+
die(_("submodule--helper subcommand must be "
520520
"called with a subcommand"));
521521

522522
for (i = 0; i < ARRAY_SIZE(commands); i++)
523523
if (!strcmp(argv[1], commands[i].cmd))
524524
return commands[i].fn(argc - 1, argv + 1, prefix);
525525

526-
die(_("fatal: '%s' is not a valid submodule--helper "
526+
die(_("'%s' is not a valid submodule--helper "
527527
"subcommand"), argv[1]);
528528
}

0 commit comments

Comments
 (0)