git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git config error message

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 12, 2007, 22:24 UTC
Message-ID
<Pine.LNX.4.64.0711122224190.4362@racer.site>
In-Reply-To
<20071112222317.GF2918@steel.home>
Hi,
On Mon, 12 Nov 2007, Alex Riesen wrote:
Show 10 quoted lines
> 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

Previous: Alex RiesenNext: Alex Riesen
Message 3 of 5 in “git config error message”
  1. Jon SmirlNov 12, 2007
  2. Alex RiesenNov 12, 2007
  3. Johannes SchindelinNov 12, 2007
  4. Alex RiesenNov 12, 2007
  5. Jakub NarebskiNov 12, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.