Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
submodule helper: remove double 'fatal: ' prefix
author
Stefan Beller
<sbeller@google.com>
Tue, 1 Mar 2016 02:07:18 +0000
(18:07 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 1 Mar 2016 19:57:20 +0000
(11:57 -0800)
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>
builtin/submodule--helper.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
4830868
)
diff --git
a/builtin/submodule--helper.c
b/builtin/submodule--helper.c
index fd2b1684a73a1c4b9965609bb6a2d0371c056681..9e8109e542225e0b5b0a24362fa626db3eb53dfe 100644
(file)
--- 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]);
}