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

Re: [PATCH] git-sh-setup: Fail if the git directory was not found.

From
Alex Riesen <fork0@t-online.de>
Date
Aug 11, 2006, 19:42 UTC
Message-ID
<20060811194226.GA12276@steel.home>
In-Reply-To
<44DC4C92.5060009@codeweavers.com>
Robert Shearman, Fri, Aug 11, 2006 11:23:30 +0200:
> Always use git-rev-parse to find a valid git directory, as 
> git-repo-config no longer returns an error code if a git directory 
> wasn't found.

BTW, did anyone notice that "--usage" almost always needs git directory? That is quite unusual.

Previous: Robert ShearmanNext: Junio C Hamano
Message 2 of 5 in “git-sh-setup: Fail if the git directory was not found.”
  1. git-sh-setup: Fail if the git directory was not found.Robert Shearman, Aug 11, 2006
  2. Alex RiesenAug 11, 2006
  3. Junio C HamanoAug 11, 2006
  4. Junio C HamanoAug 12, 2006
  5. Robert ShearmanAug 13, 2006

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.