Support alt-links for encrypted files (#34)
This commit is contained in:
parent
12a5179e8a
commit
044c6e4d62
1 changed files with 1 additions and 1 deletions
2
yadm
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…
Reference in a new issue