notes: make get_note return pointer to struct object_id
[gitweb.git] / builtin / clean.c
index 39866afab470e1ad5d0d70d33bdd6feadacf4c99..329b68c40b2f1698e08776cb05bb9388d5f77634 100644 (file)
@@ -930,7 +930,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
                       PATHSPEC_PREFER_CWD,
                       prefix, argv);
 
-       fill_directory(&dir, &pathspec);
+       fill_directory(&dir, &the_index, &pathspec);
 
        for (i = 0; i < dir.nr; i++) {
                struct dir_entry *ent = dir.entries[i];