From b11aa063ae0c6183222afd81dca9964553a332e6 Mon Sep 17 00:00:00 2001 From: Lukey Date: Tue, 19 Jan 2021 16:27:07 +0000 Subject: [PATCH] Added a comment --- ...comment_1_9d812c6dd2fd7b4c255ea88580da4396._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/todo/Incremental_git_annex_sync_--content_--all/comment_1_9d812c6dd2fd7b4c255ea88580da4396._comment 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 index 0000000000..0c7148c739 --- /dev/null +++ b/doc/todo/Incremental_git_annex_sync_--content_--all/comment_1_9d812c6dd2fd7b4c255ea88580da4396._comment @@ -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. +"""]]