Skip to content

Commit

Permalink
Support printing directories in check-ignore.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Jul 19, 2017
1 parent 506c448 commit 0e84729
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dulwich/porcelain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,8 +1123,6 @@ def check_ignore(repo, paths, no_index=False):
index = r.open_index()
ignore_manager = IgnoreFilterManager.from_repo(r)
for path in paths:
if os.path.isdir(path):
continue
if os.path.isabs(path):
path = os.path.relpath(path, r.path)
if not no_index and path_to_tree_path(r.path, path) in index:
Expand Down

0 comments on commit 0e84729

Please sign in to comment.