Re: Bug: fatal: Unable to create '.../.git/index.lock': File exists.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 29, 2019, 21:10 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1904291709350.45@tvgsbejvaqbjf.bet>
- In-Reply-To
- <CAF8BazA-VYFns7o9F7gXfFZCspbM0yQKi+LQ+BnkpGH+EjPC9A@mail.gmail.com>
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