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

[PATCH] Minor grammar fix in the 'Not a git repository' message

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 16, 2009, 22:58 UTC
Message-ID
<8787c5894e7831bbd1ace3b2fd6649f1362d4b78.1234825069u.git.johannes.schindelin@gmx.de>
In-Reply-To
<cover.1234825069u.git.johannes.schindelin@gmx.de>

It might cause less head-scratching to say 'nor any of the parent directories' than 'or ...' after saying that this is not a git repository.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/setup.c b/setup.c
index 6c2deda..05bd462 100644
--- a/setup.c
+++ b/setup.c
@@ -386,7 +386,7 @@ const char *setup_git_directory_gently(int *nongit_ok)
 				*nongit_ok = 1;
 				return NULL;
 			}
-			die("Not a git repository (or any of the parent directories): %s", DEFAULT_GIT_DIR_ENVIRONMENT);
+			die("Not a git repository (nor any of the parent directories): %s", DEFAULT_GIT_DIR_ENVIRONMENT);
 		}
 		if (chdir(".."))
 			die("Cannot change to %s/..: %s", cwd, strerror(errno));
-- 
1.6.2.rc0.397.g19ae22
Next: Wincent Colaiuta
Message 1 of 8 in “Minor grammar fix in the 'Not a git repository' message”
  1. Minor grammar fix in the 'Not a git repository' messageJohannes Schindelin, Feb 16, 2009
  2. Wincent ColaiutaFeb 16, 2009
  3. Junio C HamanoFeb 16, 2009
  4. Re: Minor grammar fix in the 'Not a git repository' messageNicolas Sebrecht, Feb 17, 2009
  5. Junio C HamanoFeb 17, 2009
  6. Boyd Stephen Smith Jr.Feb 17, 2009
  7. Jakub NarebskiFeb 17, 2009
  8. Lars NoschinskiFeb 17, 2009

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.