bento icon indicating copy to clipboard operation
bento copied to clipboard

git lock not removed

Open ievans opened this issue 5 years ago • 0 comments

Overview

If ctrl+c is pressed during bento check as a git hook, it may leave the git index.lock file around. Blocking future git commits.

Current Behavior

Describe the actual behavior, and provide the content of ~/.bento/last.log if possible. Screenshots and text dumps are particularly helpful.

git commit -am "update wording to make luke happy" fatal: Unable to create '~/returntocorp/wg/.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.

Steps to Reproduce

Not quite sure how reproducible it is.

Possible Solution

Do you have an idea for how to address the issue or feedback?

Additional Context

Bento version (run bento --version): Operation system (e.g. Ubuntu 18.04): Any other context that would help us reproduce or understand the issue:

ievans avatar Jan 27 '20 22:01 ievans