v6 git-annex unlock
authorJoey Hess <joeyh@joeyh.name>
Thu, 10 Dec 2015 20:12:05 +0000 (16:12 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 10 Dec 2015 20:12:48 +0000 (16:12 -0400)
commite2c8dc6778f12669a8374f3c8b80b1eb3cd4a5f5
tree596462bfe031e98e8cb41b1b7589222e72fb68cf
parent9dffd3d25568eedfddafd67fcd7cc33dacff909b
v6 git-annex unlock

Note that the implementation uses replaceFile, so that the actual
replacement of the work tree file is atomic. This seems a good property to
have!

It would be possible for unlock in v6 mode to be run on files that do not
have their content present. However, that would be a behavior change from
before, and I don't see any immediate need to support it, so I didn't
implement it.
Command/Unlock.hs
debian/changelog
doc/git-annex-lock.mdwn
doc/git-annex-unlock.mdwn
doc/todo/smudge.mdwn