X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-prune-packed.c;h=2d5b2cd353a5e80a74e3828aae8e0c7dfa0e1997;hb=a4df22ce49d0457f3dbec5083064f9d24e4d17dd;hp=10cb8df8457fd5f2ba9be62ecd0f9384e21c3e63;hpb=847d10f56d7853cd0e139a7c2e6ad0ad2de5c464;p=git.git diff --git a/builtin-prune-packed.c b/builtin-prune-packed.c index 10cb8df84..2d5b2cd35 100644 --- a/builtin-prune-packed.c +++ b/builtin-prune-packed.c @@ -23,7 +23,7 @@ static void prune_dir(int i, DIR *dir, char *pathname, int len, int opts) memcpy(hex+2, de->d_name, 38); if (get_sha1_hex(hex, sha1)) continue; - if (!has_sha1_pack(sha1, NULL)) + if (!has_sha1_pack(sha1)) continue; memcpy(pathname + len, de->d_name, 38); if (opts & DRY_RUN)