git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nguyen Thai Ngoc Duy <pclouds@gmail.com>
To: Albert Strasheim <fullung@gmail.com>,
	git@vger.kernel.org, Clemens Buchacher <drizzd@aon.at>,
	Matthijs Kooijman <matthijs@stdin.nl>
Subject: Re: Versioning configuration files on a server: fatal: Unable to create '//etc/.git/index.lock': No such file or directory
Date: Thu, 18 Nov 2010 23:26:38 +0700	[thread overview]
Message-ID: <AANLkTin6vir9UT9c4-9ArNvFHNdHiDiXMtXKRUMoExho@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=mf_1HaJ0qZJ4nG1=zti9CJdTZHAfhLayR4FRS@mail.gmail.com>

On Thu, Nov 18, 2010 at 11:07 PM, Nguyen Thai Ngoc Duy
<pclouds@gmail.com> wrote:
> On Thu, Nov 18, 2010 at 10:52 PM, Matthijs Kooijman <matthijs@stdin.nl> wrote:
>> Hi all,
>>
>>> I've been using git for exactly this purpose succesfully for a while now
>>> (git 1.5.6.5 from Debian stable and I think also 1.7.2.3 from Debian
>>> testing).
>> Coming back to the testing machine I was using this on, I see this
>> problem as well now. I'm pretty sure it wasn't there before, which would
>> mean it was introduced by a recent upgrade.
>>
>> Checking the logs shows that I was running 1.7.1 before, and now 1.7.2.3
>> is broken. Downgrading to 1.7.1 indeed removes the problem.
>>
>> I've rummaged around in the source a bit, haven't found the cause yet
>> (and I'm out of time now).
>>
>> The issue also still occurs with a fairly recent git master (ca209065f:
>> completion: fix zsh check under bash with 'set -u').
>
> You may be interested in 72ec8ba (Support working directory located at
> root - 2010-02-14). t1509 reports the breakages. Unfortunately this
> kind of tests can't be run automatically

I think 490544b (get_cwd_relative(): do not misinterpret suffix as
subdirectory - 2010-05-22) causes it. Haven't fully understood what's
going on in that function though :P

Will look again tomorrow, if nobody beats me to it.
-- 
Duy

  reply	other threads:[~2010-11-18 16:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17  6:24 Versioning configuration files on a server: fatal: Unable to create '//etc/.git/index.lock': No such file or directory Albert Strasheim
2010-11-17 11:20 ` Matthijs Kooijman
2010-11-18 15:52   ` Matthijs Kooijman
2010-11-18 16:00     ` Santi Béjar
2010-11-18 16:07     ` Nguyen Thai Ngoc Duy
2010-11-18 16:26       ` Nguyen Thai Ngoc Duy [this message]
2010-11-18 17:17         ` Matthijs Kooijman
2010-11-18 20:36           ` Matthijs Kooijman
  -- strict thread matches above, loose matches on Subject: below --
2010-11-24  8:01 Ilyas --
2010-11-24  8:45 ` Nguyen Thai Ngoc Duy
2010-11-24  8:50   ` Matthijs Kooijman
2010-11-24  9:46     ` Ilyas --

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=AANLkTin6vir9UT9c4-9ArNvFHNdHiDiXMtXKRUMoExho@mail.gmail.com \
    --to=pclouds@gmail.com \
    --cc=drizzd@aon.at \
    --cc=fullung@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=matthijs@stdin.nl \
    /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).