watcher: Detect at startup time when there is a stale .git/lock, and remove it so it does not interfere with the automatic commits of changed files.

This commit is contained in:
Joey Hess 2013-10-03 16:57:21 -04:00
parent f8880c4fe4
commit 93dbb7842e
4 changed files with 53 additions and 6 deletions

3
debian/changelog vendored
View file

@ -3,6 +3,9 @@ git-annex (4.20131003) UNRELEASED; urgency=low
* Automatically and safely detect and recover from dangling
.git/annex/index.lock files, which would prevent git from
committing to the git-annex branch, eg after a crash.
* watcher: Detect at startup time when there is a stale .git/lock,
and remove it so it does not interfere with the automatic
commits of changed files.
-- Joey Hess <joeyh@debian.org> Thu, 03 Oct 2013 15:41:24 -0400