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.