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

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

From
Wincent Colaiuta <win@wincent.com>
Date
Feb 16, 2009, 23:27 UTC
Message-ID
<E8469C6E-A238-4DD0-B287-09E8ABCE4801@wincent.com>
In-Reply-To
<8787c5894e7831bbd1ace3b2fd6649f1362d4b78.1234825069u.git.johannes.schindelin@gmx.de>
El 16/2/2009, a las 23:58, Johannes Schindelin escribió:
Show 8 quoted lines
> 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.
>
> -			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);

Or could just avoid the whole "or/nor" construct entirely by just saying?

   "Not inside a git repository"
Previous: Johannes SchindelinNext: Junio C Hamano
Message 2 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.