Optionally do not list empty directories in git-ls-files --others
[gitweb.git] / diff-index.c
index f8a102ec1665753e078798eaaac7aca48b845995..12a9418d6bbec35d2e5bc0010aff4366e63d7440 100644 (file)
@@ -33,7 +33,7 @@ static int get_stat_data(struct cache_entry *ce,
                        }
                        return -1;
                }
-               changed = ce_match_stat(ce, &st);
+               changed = ce_match_stat(ce, &st, 0);
                if (changed) {
                        mode = create_ce_mode(st.st_mode);
                        if (!trust_executable_bit &&