Add locking to avoid races when changing the git-annex branch.
This commit is contained in:
parent
f77979b8b5
commit
d357556141
4 changed files with 29 additions and 12 deletions
|
@ -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]].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue