Web lists-archives.com

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




Hi Aleksey,

On Mon, 29 Apr 2019, Aleksey Midenkov wrote:

> git rebase -p -x /tmp/check.sh base
> ```
> If the `base` is far away enough it fails with "fatal: Unable to
> create '.../.git/index.lock': File exists." at an arbitrary commit.

Does it work if you pass `-r` instead of `-p`? The latter will be
deprecated in favor of the former in the upcoming Git v2.22.

Ciao,
Johannes