This commit is contained in:
Joey Hess 2016-10-31 14:14:42 -04:00
parent 2ad7b00e29
commit 752a7e765f
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2016-10-31T18:04:04Z"
content="""
`git annex unlock` only operates on files that are symlinks and link to
.git/annex/objects.
I don't think that `find` provides a way to check the link target
of a symlink, so you'd have to write a program to do it. I suppose
that `git annex find --locked` could be made to do that.
`git annex unlock` often has to make a copy of the content of a file,
which would be the majority of its IO. Only if you're using
`annex.thin` with v6 might it not need to copy the file, and then a batch
mode could speed it up. Are you?
"""]]