Add locking to avoid races when changing the git-annex branch.

This commit is contained in:
Joey Hess 2011-10-03 16:32:36 -04:00
parent f77979b8b5
commit d357556141
4 changed files with 29 additions and 12 deletions

View file

@ -49,3 +49,5 @@ Make Branch.change transactional, so it takes a lock, reads a file,
applies a function to it, and writes the changed file.
Make Branch.update hold the same lock.
> [[Done]].