{"thread":{"id":"10831","subject":"git config error message","startedAt":"2007-11-12T15:35:07Z","lastAt":"2007-11-12T23:09:26Z","messageCount":5,"participants":["Jon Smirl","Alex Riesen","Johannes Schindelin","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"59501","messageId":"9e4733910711120735p653c643eveb44627bf4532b1a@mail.gmail.com","threadId":"10831","inReplyTo":null,"subject":"git config error message","fromName":"Jon Smirl","fromEmail":"jonsmirl@gmail.com","sentAt":"2007-11-12T15:35:07Z","receivedAt":"2007-11-12T15:35:07Z","isPatch":false,"sender":{"key":"jonsmirl@gmail.com","avatar":"https://gravatar.com/avatar/cff3bf5bfdfa6708b905712ff91f0f9b8aaca161659f38c02b787920d5d28b7e?d=mp&s=160"},"body":"I'm not in a git repo, this error message is misleading.\n\njonsmirl@terra:~/foo$ git config remote.origin.url\nhttp://git.digispeaker.com/projects/digispeaker-kernel.git\ncould not lock config file\n\n\n-- \nJon Smirl\njonsmirl@gmail.com\n"},{"id":"59587","messageId":"20071112222317.GF2918@steel.home","threadId":"10831","inReplyTo":"9e4733910711120735p653c643eveb44627bf4532b1a@mail.gmail.com","subject":"Re: git config error message","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2007-11-12T22:23:17Z","receivedAt":"2007-11-12T22:23:17Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"Jon Smirl, Mon, Nov 12, 2007 16:35:07 +0100:\n> I'm not in a git repo, this error message is misleading.\n> \n> jonsmirl@terra:~/foo$ git config remote.origin.url\n> http://git.digispeaker.com/projects/digispeaker-kernel.git\n> could not lock config file\n> \n\nCygwin or any crashes in this repo lately?\nIf cygwin, than we probably have a file handle leak in config code.\n"},{"id":"59588","messageId":"Pine.LNX.4.64.0711122224190.4362@racer.site","threadId":"10831","inReplyTo":"20071112222317.GF2918@steel.home","subject":"Re: git config error message","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-11-12T22:24:54Z","receivedAt":"2007-11-12T22:24:54Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 12 Nov 2007, Alex Riesen wrote:\n\n> Jon Smirl, Mon, Nov 12, 2007 16:35:07 +0100:\n> > I'm not in a git repo, this error message is misleading.\n> > \n> > jonsmirl@terra:~/foo$ git config remote.origin.url\n> > http://git.digispeaker.com/projects/digispeaker-kernel.git\n> > could not lock config file\n> > \n> \n> Cygwin or any crashes in this repo lately?\n> If cygwin, than we probably have a file handle leak in config code.\n\nHe said that he's not in a git repo.  Thus, .git/config does not exist, \nand is not lockable, since not even .git/ exists.\n\nCiao,\nDscho\n"},{"id":"59589","messageId":"20071112222629.GG2918@steel.home","threadId":"10831","inReplyTo":"Pine.LNX.4.64.0711122224190.4362@racer.site","subject":"Re: git config error message","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2007-11-12T22:26:29Z","receivedAt":"2007-11-12T22:26:29Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"Johannes Schindelin, Mon, Nov 12, 2007 23:24:54 +0100:\n> Hi,\n> \n> On Mon, 12 Nov 2007, Alex Riesen wrote:\n> \n> > Jon Smirl, Mon, Nov 12, 2007 16:35:07 +0100:\n> > > I'm not in a git repo, this error message is misleading.\n> > > \n> > > jonsmirl@terra:~/foo$ git config remote.origin.url\n> > > http://git.digispeaker.com/projects/digispeaker-kernel.git\n> > > could not lock config file\n> > > \n> > \n> > Cygwin or any crashes in this repo lately?\n> > If cygwin, than we probably have a file handle leak in config code.\n> \n> He said that he's not in a git repo.  Thus, .git/config does not exist, \n> and is not lockable, since not even .git/ exists.\n> \n\nOh.\n"},{"id":"59594","messageId":"fhamf4$g7t$1@ger.gmane.org","threadId":"10831","inReplyTo":"20071112222629.GG2918@steel.home","subject":"Re: git config error message","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-11-12T23:09:26Z","receivedAt":"2007-11-12T23:09:26Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Alex Riesen wrote:\n\n> Johannes Schindelin, Mon, Nov 12, 2007 23:24:54 +0100:\n>> Hi,\n>> On Mon, 12 Nov 2007, Alex Riesen wrote:\n>>> Jon Smirl, Mon, Nov 12, 2007 16:35:07 +0100:\n>>>\n>>>> I'm not in a git repo, this error message is misleading.\n>>>> \n>>>> jonsmirl@terra:~/foo$ git config remote.origin.url\n>>>> http://git.digispeaker.com/projects/digispeaker-kernel.git\n>>>> could not lock config file\n>>>> \n>>> \n>>> Cygwin or any crashes in this repo lately?\n>>> If cygwin, than we probably have a file handle leak in config code.\n>> \n>> He said that he's not in a git repo.  Thus, .git/config does not exist, \n>> and is not lockable, since not even .git/ exists.\n>> \n> \n> Oh.\n\nAnd neither does per-user config file (I triet to reproduce this error, and\nforgot about ~/.gitconfig file).\n\n-- \nJakub Narebski\nWarsaw, Poland\nShadeHawk on #git\n"}]}