diff --git a/gitignorefile/__init__.py b/gitignorefile/__init__.py index 42387ba..13f3ccd 100644 --- a/gitignorefile/__init__.py +++ b/gitignorefile/__init__.py @@ -45,6 +45,9 @@ def __call__(self, path, is_dir=None): if parent_gitignore.isfile(): with open(str(parent_gitignore)) as f: matches = pathspec.PathSpec.from_lines("gitwildmatch", f) + for p in matches.patterns: + print(p.regex) + assert False add_to_children[parent] = ((matches, parent), plain_paths) plain_paths = []