1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Split out processing of stale links

This commit is contained in:
Tim Byrne
2019-09-30 08:44:41 -05:00
parent 0438e383e5
commit b411f9d74f
2 changed files with 42 additions and 1 deletions

6
yadm
View File

@@ -402,6 +402,11 @@ function alt() {
alt_future_linking
fi
remove_stale_links
}
function remove_stale_links() {
# review alternate candidates for stale links
# if a possible alt IS linked, but it's target is not part of alt_linked,
# remove it.
@@ -419,7 +424,6 @@ function alt() {
fi
done
fi
}
function set_local_alt_values() {