diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-03-11 13:49:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-11 13:49:56 -0700 |
commit | aec813062b340e6bb181470cf57cc4b4406e1bb8 (patch) | |
tree | bb2b33ca6b89fdfd8d0e4b2e6d34f5a806674b67 /builtin-prune-packed.c | |
parent | 8f4cc7911955a3642af601394a4b4473e7bfde33 (diff) | |
parent | 69e020ae00ebd3f7ae3c2f35acb139361417ef64 (diff) | |
download | git-aec813062b340e6bb181470cf57cc4b4406e1bb8.tar.gz |
Merge branch 'jc/maint-1.6.0-keep-pack'
* jc/maint-1.6.0-keep-pack:
is_kept_pack(): final clean-up
Simplify is_kept_pack()
Consolidate ignore_packed logic more
has_sha1_kept_pack(): take "struct rev_info"
has_sha1_pack(): refactor "pretend these packs do not exist" interface
git-repack: resist stray environment variable
Diffstat (limited to 'builtin-prune-packed.c')
-rw-r--r-- | builtin-prune-packed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-prune-packed.c b/builtin-prune-packed.c index 10cb8df845..2d5b2cd353 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) |