t7700-repack: add two new tests demonstrating repacking flaws
[gitweb.git] / builtin-count-objects.c
index 91b5487478998e39bb8ae4a5cb667360cff82c9a..c095e8dd2bc6ce93df39e9f6dbffb73ae8534491 100644 (file)
@@ -61,7 +61,7 @@ static void count_objects(DIR *d, char *path, int len, int verbose,
                hex[40] = 0;
                if (get_sha1_hex(hex, sha1))
                        die("internal error");
-               if (has_sha1_pack(sha1, NULL))
+               if (has_sha1_pack(sha1))
                        (*packed_loose)++;
        }
 }