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

Re: [PATCH] Keep "git --git-dir" from causing a bus error.

From
Brian Gernhardt <benji@silverinsanity.com>
Date
Dec 22, 2006, 17:34 UTC
Message-ID
<2E577524-FAFC-4A9C-809D-B3698682FDEB@silverinsanity.com>
In-Reply-To
<Pine.LNX.4.63.0612221708070.19693@wbgn013.biozentrum.uni-wuerzburg.de>
On Dec 22, 2006, at 11:08 AM, Johannes Schindelin wrote:
Show 6 quoted lines
>> +				fprintf(stderr, "No directory given for --git-dir.\n" );
>> +				usage(git_usage_string);
>
> Usage already exits, so you do not need this:
>
>> +			} else {

I suppose not. It came out of a) habit and b) experiments with things that did not exit.

~~ Brian
Previous: Johannes Schindelin
Message 3 of 3 in “Keep "git --git-dir" from causing a bus error.”
  1. Keep "git --git-dir" from causing a bus error.Brian Gernhardt, Dec 22, 2006
  2. Johannes SchindelinDec 22, 2006
  3. Brian GernhardtDec 22, 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.