Re: Bug: fatal: Unable to create '.../.git/index.lock': File exists.
To
Duy Nguyen
Cc
Jeff King
Aleksey Midenkov
Git Mailing List
From
Johannes Schindelin
See Also
Prev Ref 1 Ref 2 Ref 3 Ref 4 Ref 5 Ref 6 Ref 7 Ref 8 Ref 9 Ref 10
Date
2019-05-03 09:47:23 UTC
Hi Duy,

On Fri, 3 May 2019, Duy Nguyen wrote:

> I have a feeling that most operations read the index unlocked,
> manipulate and only lock before writing things out. So yeah it's
> probably already racy.

IIRC there is a check for that, so it is not actually racy ;-)

Ciao,
Johannes