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
-- Jon Smirl jonsmirl@gmail.com
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
-- Jon Smirl jonsmirl@gmail.com
Re: git config error message
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.
Re: git config error message
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.
Ciao, Dscho
Re: git config error message
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.
Re: git config error message
Alex Riesen wrote:
> 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