t7700-repack: add two new tests demonstrating repacking flaws
[gitweb.git] / builtin-count-objects.c
index f00306fb677acb6003444b931dc9b2bf719bc562..c095e8dd2bc6ce93df39e9f6dbffb73ae8534491 100644 (file)
@@ -61,13 +61,13 @@ 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)++;
        }
 }
 
 static char const * const count_objects_usage[] = {
-       "git-count-objects [-v]",
+       "git count-objects [-v]",
        NULL
 };