From 044c6e4d62b5aa70fcbdd1848e18466b9eb82a18 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Sat, 7 Jan 2017 16:13:47 -0600 Subject: [PATCH] Support alt-links for encrypted files (#34) --- yadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yadm b/yadm index 9ce941c..857f248 100755 --- a/yadm +++ b/yadm @@ -125,7 +125,7 @@ function alt() { #; for every file which matches the above regex, create a symlink last_linked='' local IFS=$'\n' - for tracked_file in $(git ls-files | sort); do + for tracked_file in $(git ls-files | sort) $(cat "$YADM_ENCRYPT" 2>/dev/null); do tracked_file="$YADM_WORK/$tracked_file" #; process both the path, and it's parent directory for alt_path in "$tracked_file" "${tracked_file%/*}"; do