summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-10-31 14:14:42 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-10-31 14:14:42 -0400
commite99b6f3e0d03553a8daf0839219da3c40f048f9c (patch)
tree6e2a566e5c93f50d0bb84f08b8bcb93dffe90a79
parent82d567a73c5d688c3e0de0abb6005d1be1fa2668 (diff)
comment
-rw-r--r--doc/todo/unlock_--json/comment_1_4cd41dca533de8147027eeb9a8ad89db._comment16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/todo/unlock_--json/comment_1_4cd41dca533de8147027eeb9a8ad89db._comment b/doc/todo/unlock_--json/comment_1_4cd41dca533de8147027eeb9a8ad89db._comment
new file mode 100644
index 000000000..5a7136a23
--- /dev/null
+++ b/doc/todo/unlock_--json/comment_1_4cd41dca533de8147027eeb9a8ad89db._comment
@@ -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?
+"""]]