mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-06 18:55:38 +00:00
strict ignore for compare
This commit is contained in:
@@ -35,7 +35,7 @@ class FTreeDir:
|
||||
for file in files:
|
||||
fpath = os.path.join(root, file)
|
||||
if must_ignore([fpath], ignores=self.ignores,
|
||||
debug=self.debug):
|
||||
debug=self.debug, strict=True):
|
||||
continue
|
||||
self.entries.append(fpath)
|
||||
for dname in dirs:
|
||||
@@ -44,7 +44,7 @@ class FTreeDir:
|
||||
# ignore empty directory
|
||||
continue
|
||||
if must_ignore([dpath], ignores=self.ignores,
|
||||
debug=self.debug):
|
||||
debug=self.debug, strict=True):
|
||||
continue
|
||||
self.entries.append(dpath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user