From: Stefan Beller Date: Mon, 29 Feb 2016 19:14:08 GMT Subject: [PATCHv20 10/12] submodule helper: remove double 'fatal: ' prefix Message-ID: <1456773250-5510-11-git-send-email-sbeller@google.com> In-Reply-To: <1456773250-5510-1-git-send-email-sbeller@google.com> The prefix is added by die(...), so we don't have to do it. Signed-off-by: Stefan Beller --- builtin/submodule--helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index e1b60ff..a111fd2 100644 --- a/builtin/submodule--helper.c +++ b/builtin/submodule--helper.c @@ -519,13 +519,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]); } -- 2.7.0.rc0.37.gb7b9e8e