Code

Remove hyphen from "git-command" in two error messages
authorPete Harlan <pgit@pcharlan.com>
Mon, 15 Feb 2010 23:33:18 +0000 (15:33 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Feb 2010 02:20:54 +0000 (18:20 -0800)
Signed-off-by: Pete Harlan <pgit@pcharlan.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.c
help.c

diff --git a/git.c b/git.c
index 11544cdb4037715b1e9edc14689896d99d6e3284..a83cab7002205f56b454e49c389271fb963c5c67 100644 (file)
--- a/git.c
+++ b/git.c
@@ -516,7 +516,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);
                }
diff --git a/help.c b/help.c
index 9da97d7462040d3935e7eaa95b1167357b38a943..7f4928e45954465d0401964289952aec4bd59e2a 100644 (file)
--- a/help.c
+++ b/help.c
@@ -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",