1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 15:49:15 +00:00

prefixes for ignore

This commit is contained in:
deadc0de6
2023-07-30 23:05:51 +02:00
committed by deadc0de
parent edc81054bf
commit f68df031fc
2 changed files with 5 additions and 3 deletions

View File

@@ -96,7 +96,8 @@ class Updater:
ret = False
new_path = None
ignores = list(set(self.ignore + dotfile.upignore))
ignores = ignores_to_absolute(ignores, dotfile.dst,
prefixes = [dotfile.dst, dotfile.src]
ignores = ignores_to_absolute(ignores, prefixes,
debug=self.debug)
self.log.dbg(f'ignore pattern(s) for {path}: {ignores}')