Skip to content

Commit

Permalink
Draft.
Browse files Browse the repository at this point in the history
  • Loading branch information
excitoon committed Aug 28, 2022
1 parent df86407 commit f52bf85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gitignorefile/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down

0 comments on commit f52bf85

Please sign in to comment.