http: when using Secure Channel, ignore sslCAInfo by default
[gitweb.git] / builtin / rm.c
index f4d3f000b624564737bf7b851f4bf9abf5497684..2cbe89e0ae3b7a4801ac27d25fd37306813104ba 100644 (file)
@@ -278,7 +278,7 @@ int cmd_rm(int argc, const char **argv, const char *prefix)
 
        for (i = 0; i < active_nr; i++) {
                const struct cache_entry *ce = active_cache[i];
-               if (!ce_path_match(ce, &pathspec, seen))
+               if (!ce_path_match(&the_index, ce, &pathspec, seen))
                        continue;
                ALLOC_GROW(list.entry, list.nr + 1, list.alloc);
                list.entry[list.nr].name = xstrdup(ce->name);