]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/gc.c
packfile: keep prepare_packed_git() private
[thirdparty/git.git] / builtin / gc.c
index a78dad51aa128f28f2f2a8028710b14597157e65..0a667972ab518d529909f473f6b1c85149bb4dbf 100644 (file)
@@ -174,7 +174,6 @@ static int too_many_packs(void)
        if (gc_auto_pack_limit <= 0)
                return 0;
 
-       prepare_packed_git(the_repository);
        for (cnt = 0, p = get_packed_git(the_repository); p; p = p->next) {
                if (!p->pack_local)
                        continue;