Merge branch 'jc/maint-1.6.0-keep-pack' into maint-1.6.1
[git/git.git] / builtin-count-objects.c
index ab35b65..38b033f 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)++;
        }
 }