Re: git config error message
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 12, 2007, 23:09 UTC
- Message-ID
- <fhamf4$g7t$1@ger.gmane.org>
- In-Reply-To
- <20071112222629.GG2918@steel.home>
Alex Riesen wrote:
Show 20 quoted lines
> Johannes Schindelin, Mon, Nov 12, 2007 23:24:54 +0100: >> Hi, >> On Mon, 12 Nov 2007, Alex Riesen wrote: >>> Jon Smirl, Mon, Nov 12, 2007 16:35:07 +0100: >>> >>>> I'm not in a git repo, this error message is misleading. >>>> >>>> jonsmirl@terra:~/foo$ git config remote.origin.url >>>> http://git.digispeaker.com/projects/digispeaker-kernel.git >>>> could not lock config file >>>> >>> >>> Cygwin or any crashes in this repo lately? >>> If cygwin, than we probably have a file handle leak in config code. >> >> He said that he's not in a git repo. Thus, .git/config does not exist, >> and is not lockable, since not even .git/ exists. >> > > Oh.
And neither does per-user config file (I triet to reproduce this error, and forgot about ~/.gitconfig file).
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git