Document the default source of template files.
[gitweb.git] / write-tree.c
index f866059f24bacd314fa4a979334a9893dbfc19ba..addb5de3b6ea5a84ea71293aee5b50f1e70ea720 100644 (file)
@@ -111,7 +111,7 @@ int main(int argc, char **argv)
        funny = 0;
        for (i = 0; i < entries; i++) {
                struct cache_entry *ce = active_cache[i];
-               if (ntohs(ce->ce_flags) & ~CE_NAMEMASK) {
+               if (ce_stage(ce)) {
                        if (10 < ++funny) {
                                fprintf(stderr, "...\n");
                                break;