rearrange delta search progress reporting
[gitweb.git] / builtin-count-objects.c
index ac65e03e7f5203def8c412da95f254973119c14d..4274ec19500953bd7b6775e6d66271e9e116fa86 100644 (file)
@@ -111,7 +111,7 @@ int cmd_count_objects(int ac, const char **av, const char *prefix)
                for (p = packed_git; p; p = p->next) {
                        if (!p->pack_local)
                                continue;
-                       if (!p->index_data && open_pack_index(p))
+                       if (open_pack_index(p))
                                continue;
                        packed += p->num_objects;
                        num_pack++;