Added a comment
authorLukey <Lukey@web>
Tue, 19 Jan 2021 16:27:07 +0000 (16:27 +0000)
committeradmin <admin@branchable.com>
Tue, 19 Jan 2021 16:27:07 +0000 (16:27 +0000)
doc/todo/Incremental_git_annex_sync_--content_--all/comment_1_9d812c6dd2fd7b4c255ea88580da4396._comment [new file with mode: 0644]

diff --git a/doc/todo/Incremental_git_annex_sync_--content_--all/comment_1_9d812c6dd2fd7b4c255ea88580da4396._comment b/doc/todo/Incremental_git_annex_sync_--content_--all/comment_1_9d812c6dd2fd7b4c255ea88580da4396._comment
new file mode 100644 (file)
index 0000000..0c7148c
--- /dev/null
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="Lukey"
+ avatar="http://cdn.libravatar.org/avatar/c7c08e2efd29c692cc017c4a4ca3406b"
+ subject="comment 1"
+ date="2021-01-19T16:27:07Z"
+ content="""
+So I implemented this with an bash script, see [[here|https://gist.github.com/Lukey3332/203ea6f30d48323e7bd1d05c16b5da9c]]. It's a bit hacky, since `git annex sync` doesn't have `--batch` and even if it did, `--batch` can't work with keys. Instead it check out a temporary branch, link the keys to sync in a directory and then uses --content-of= to sync only the keys within that directory.
+
+I'll use it with my repos and see if it works reliably.
+"""]]