git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: git config error message
Date: Tue, 13 Nov 2007 00:09:26 +0100	[thread overview]
Message-ID: <fhamf4$g7t$1@ger.gmane.org> (raw)
In-Reply-To: 20071112222629.GG2918@steel.home

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

  reply	other threads:[~2007-11-12 23:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-12 15:35 git config error message Jon Smirl
2007-11-12 22:23 ` Alex Riesen
2007-11-12 22:24   ` Johannes Schindelin
2007-11-12 22:26     ` Alex Riesen
2007-11-12 23:09       ` Jakub Narebski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-27  8:10 Angelo Borsotti
2012-10-27  8:25 ` Andreas Schwab
2012-10-27  8:32   ` Angelo Borsotti
2012-10-27  8:44     ` Andreas Schwab
2012-10-27  8:45     ` Ben Walton
2012-10-27 10:36       ` Angelo Borsotti
2012-10-27 13:14         ` Andreas Schwab
2012-10-27 14:50           ` Angelo Borsotti
2012-10-27 16:12             ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fhamf4$g7t$1@ger.gmane.org' \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).