]> dgit.raspbian.org Git - git-annex.git/commit
use separate lock from content file in v9
authorJoey Hess <joeyh@joeyh.name>
Tue, 11 Jan 2022 21:01:11 +0000 (17:01 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 11 Jan 2022 21:03:14 +0000 (17:03 -0400)
commit3c042606c295734a7dfd65c7239a4801041240da
tree807c8c75cc9a2d65a5244df5036c45cc740141cf
parent43f9d967ff7d0ddb5c9187aefb30b2b6fc89d77f
use separate lock from content file in v9

Windows has always used a separate lock file, but on unix, the content
file itself was locked, and in v9 that changes to also use a separate
lock file.

This needs to be tested more. Eg, what happens after dropping a file;
does the the content lock file get deleted too, or linger around?

Sponsored-by: Dartmouth College's Datalad project
Annex/Content.hs
Annex/Content/Presence.hs