فهرست منبع

Support printing directories in check-ignore.

Jelmer Vernooij 7 سال پیش
والد
کامیت
0e8472929f
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      dulwich/porcelain.py

+ 0 - 2
dulwich/porcelain.py

@@ -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: