Re: Versioning configuration files on a server: fatal: Unable to create '//etc/.git/index.lock': No such file or directory
- From
Matthijs Kooijman <matthijs@stdin.nl>
- Date
- Nov 18, 2010, 17:17 UTC
- Message-ID
- <20101118171751.GG22067@login.drsnuggles.stderr.nl>
- In-Reply-To
- <AANLkTin6vir9UT9c4-9ArNvFHNdHiDiXMtXKRUMoExho@mail.gmail.com>
Hi Nguyen,
> 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
Seems you're right. I just reverted this commit and the problem seems to go away.
In case you're investigation, here's the relevant call to get_cwd_relative in this case is:
Breakpoint 3, get_relative_cwd (buffer=0x756e20 "", size=4096, dir=0x764040 "/") at dir.c:944
Not sure what the return value is, that one got optimized out.
Gr.
Matthijs