another lock file

This commit is contained in:
Joey Hess 2013-10-03 17:05:53 -04:00
parent f4d984e3cc
commit 891242ad26
2 changed files with 6 additions and 0 deletions

View file

@ -35,3 +35,7 @@ fatal: Unable to create '/mnt/sdcard/reference/.git/index.lock': File exists.
# End of transcript or log.
"""]]
> The '/mnt/sdcard/reference/.git/index.lock' lock file will now be
> automatically dealt with. Have not done anything about the refs/remotes
> lock files yet. --[[Joey]]

View file

@ -18,6 +18,8 @@ check that nothing else is using it, fix the problem, and redo the commit.
it can take care of it, and if not, it's a server, and perhaps the user
should be required to fix up if it crashes during a commit. This should
not affect the assistant anyway.
* TODO Seems that refs can also have stale lock files, for example
'/storage/emulated/legacy/DCIM/.git/refs/remotes/flick_phonecamera/synced/git-annex.lock'
## incremental fsck