From: Yuri <yuri@rawbw.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: [BUG REPORT] Intermittent errors: Unable to create '/usr/ports/.git/index.lock': File exists.
Date: Thu, 9 Sep 2021 12:29:32 -0700 [thread overview]
Message-ID: <1fcdeb8f-5869-cfe4-6063-8d4fb5da709c@rawbw.com> (raw)
Once every ~20 times I call 'git commit' it fails like this:
$ git commit .
fatal: Unable to create '/usr/ports/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
There's no other instance.
It usually succeeds next time.
git-2.32.0
OS: FreeBSD 13
Yuri
next reply other threads:[~2021-09-09 19:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-09 19:29 Yuri [this message]
2021-09-09 20:19 ` [BUG REPORT] Intermittent errors: Unable to create '/usr/ports/.git/index.lock': File exists Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1fcdeb8f-5869-cfe4-6063-8d4fb5da709c@rawbw.com \
--to=yuri@rawbw.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).