Support alt-links for encrypted files (#34)

pull/57/head
Tim Byrne 6 years ago
parent 12a5179e8a
commit 044c6e4d62
No known key found for this signature in database
GPG Key ID: 6CBE24C2FD8CF76E
  1. 2
      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

Loading…
Cancel
Save