Re: Bug: fatal: Unable to create '.../.git/index.lock': File exists.

2019-05-02 Thread Aleksey Midenkov
On Wed, May 1, 2019 at 9:36 PM Jeff King wrote: > > On Wed, May 01, 2019 at 10:15:19AM +0300, Aleksey Midenkov wrote: > > > > Usually when we see racy contention on index.lock, the culprit turns out > > > to be another unrelated git process refreshing the index. Do y

Re: Bug: fatal: Unable to create '.../.git/index.lock': File exists.

2019-05-01 Thread Aleksey Midenkov
On Tue, Apr 30, 2019 at 8:41 PM Jeff King wrote: > > On Tue, Apr 30, 2019 at 02:19:11PM +0300, Aleksey Midenkov wrote: > > > > I gave it about 2000 commits (from v2.20.1 to master on git.git) to > > > rebase. No luck. > > > > Please, try on this repo

Re: Bug: fatal: Unable to create '.../.git/index.lock': File exists.

2019-04-30 Thread Aleksey Midenkov
On Mon, Apr 29, 2019 at 2:35 PM Duy Nguyen wrote: > > On Mon, Apr 29, 2019 at 6:03 PM Aleksey Midenkov wrote: > > > > Reproduce: > > ``` > > cat << EOF >> /tmp/check.sh > > #!/bin/sh > > git log HEAD~..HEAD | cat > > # sleep 1 > >

Bug: fatal: Unable to create '.../.git/index.lock': File exists.

2019-04-29 Thread Aleksey Midenkov
; at an arbitrary commit. Abort current rebase, uncomment 'sleep 1' and repeat rebase. Now it doesn't fail. Version: git version 2.20.1 uname --all Linux lian 4.18.0-15-generic #16-Ubuntu SMP Thu Feb 7 10:56:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux -- All the best, Aleksey Midenkov @midenok