X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-count-objects.c;h=73c59824238f58c2dc94544ef67ea51741d834ac;hb=24ad8e0ce23d08d28a5d664ab6164b10125146ce;hp=1d3729aa9914d6c68dbb6ad11cb46504b4a688e0;hpb=efced1e06e475c6e7c0b1ba0eaedf7046c01cde5;p=git.git diff --git a/builtin-count-objects.c b/builtin-count-objects.c index 1d3729aa9..73c598242 100644 --- a/builtin-count-objects.c +++ b/builtin-count-objects.c @@ -62,7 +62,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)) + if (has_sha1_pack(sha1, NULL)) (*packed_loose)++; } }