http: when using Secure Channel, ignore sslCAInfo by default
[gitweb.git] / builtin / clean.c
index ab402c204cbcaea6190608753311605d37ca83d2..8d9a7dc20647079bc5f35b446bbbab5479abb32d 100644 (file)
@@ -976,7 +976,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
                        continue;
 
                if (pathspec.nr)
-                       matches = dir_path_match(ent, &pathspec, 0, NULL);
+                       matches = dir_path_match(&the_index, ent, &pathspec, 0, NULL);
 
                if (pathspec.nr && !matches)
                        continue;