commit: make it work with status.short
[gitweb.git] / builtin / check-ignore.c
index 7388346ef2a0beb925d67e4933b3aacb43c3c47e..854a88a0568e2f0226d26a2d9ebc99d24765053b 100644 (file)
@@ -66,7 +66,6 @@ static int check_ignore(const char *prefix, const char **pathspec)
                die(_("index file corrupt"));
 
        memset(&dir, 0, sizeof(dir));
-       dir.flags |= DIR_COLLECT_IGNORED;
        setup_standard_excludes(&dir);
 
        if (!pathspec || !*pathspec) {