From 9ff446a0444b7769e0236af85a48fd5c3bc874d1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 16 Oct 2015 11:35:53 -0300 Subject: Sync-media: getall config --- files/sync-media | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/sync-media b/files/sync-media index 6cdbc00..6864e2b 100644 --- a/files/sync-media +++ b/files/sync-media @@ -110,6 +110,11 @@ if [ -d "$CACHE" ]; then sync_media_add git annex sync + # Control whether the repository should have a copy of everything + if [ "`git -C $CACHE/$folder config sync-media.getall`" == "true" ]; then + git annex get . + fi + if [ "$FSCK" == "true" ]; then git annex fsck --fast fi -- cgit v1.2.3