git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] typo (dashes)

From
FSFrederik Schwarzer <schwarzerf@gmail.com>
Date
Sep 23, 2008, 11:59 UTC
Message-ID
<200809231359.17068.schwarzerf@gmail.com>
>From 0d511a231d150ecb20308cb346da1432b1db2646 Mon Sep 17 00:00:00 2001
From: Frederik Schwarzer <schwarzerf@gmail.com>
Date: Tue, 23 Sep 2008 13:54:37 +0200
Subject: [PATCH] typo (dashes)
Signed-off-by: Frederik Schwarzer <schwarzerf@gmail.com>
---
 git.c  |    2 +-
 help.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/git.c b/git.c
index 905acc2..bab0c0b 100644
--- a/git.c
+++ b/git.c
@@ -495,7 +495,7 @@ int main(int argc, const char **argv)
 	if (errno == ENOENT) {
 		if (done_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 300cd38..e1dd449 100644
--- a/help.c
+++ b/help.c
@@ -330,7 +330,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 (best_similarity < 6) {
 		fprintf(stderr, "\nDid you mean %s?\n",
-- 
1.6.0.1
Next: Johannes Schindelin
Message 1 of 2 in “typo (dashes)”
  1. typo (dashes)Frederik Schwarzer, Sep 23, 2008
  2. Johannes SchindelinSep 23, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.