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