1
0
Fork 0
mirror of synced 2024-06-03 07:41:09 -04:00

support alternative files in submodules

This commit is contained in:
Jaroslav Rakhmatoullin 2019-12-31 12:56:51 +01:00
parent b4fd9e19c2
commit b86aecf335

6
yadm
View file

@ -427,6 +427,12 @@ function alt() {
tracked_files+=("$tracked_file")
done
for tracked_file in $(
"$GIT_PROGRAM" submodule foreach 'git ls-files | sed "s|^|$path/|"' |
LC_ALL=C sort); do
tracked_files+=("$tracked_file")
done
# generate data for removing stale links
local possible_alts
possible_alts=()