Remove hyphen from "git-command" in two error messages
PATCH 1/1 Remove hyphen from "git-command" in two error messages
Signed-off-by Pete Harlan <[email protected]>
---
The hyphen in
git: 'foo' is not a git-command. See 'git --help'.
looks like an anachronism. Patch generated against "next".
git.c | 2 +- help.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
git.c +1 -1
@@ -527,7 +527,7 @@ int main(int argc, const char **argv)break ;if (was_alias) {fprintf (stderr,"Expansion of alias '%s' failed; " -"'%s' is not a git-command\n" , +"'%s' is not a git command\n" , cmd, argv[0 ]);exit (1 ); }
help.c +0 -1
@@ -350,7 +350,7 @@ const char *help_unknown_cmd(const char *cmd)return assumed; } - fprintf(stderr, "git: '%s' is not a git-command. See 'git --help'.\n",
cmd);
+ fprintf(stderr, "git: '%s' is not a git command. See 'git --help'.\n",
cmd);
if (SIMILAR_ENOUGH(best_similarity)) {
fprintf(stderr, "\nDid you mean %s?\n",
Signature · 1 line
1.7.0
Signed-off-by Pete Harlan <[email protected]>
---
Replacement for previous patch; Thunderbird shouldn't wrap this time. Sorry for the bother.
git.c | 2 +- help.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
git.c +1 -1
@@ -527,7 +527,7 @@ int main(int argc, const char **argv)break ;if (was_alias) {fprintf (stderr,"Expansion of alias '%s' failed; " -"'%s' is not a git-command\n" , +"'%s' is not a git command\n" , cmd, argv[0 ]);exit (1 ); }
help.c +1 -1
@@ -350,7 +350,7 @@ const char *help_unknown_cmd(const char *cmd)return assumed; } -fprintf (stderr,"git: '%s' is not a git-command. See 'git --help'.\n" , cmd); +fprintf (stderr,"git: '%s' is not a git command. See 'git --help'.\n" , cmd);if (SIMILAR_ENOUGH (best_similarity)) { fprintf(stderr, "\nDid you mean %s?\n",
Signature · 1 line
1.7.0
Thanks.