Code

t7700: demonstrate repack flaw which may loosen objects unnecessarily
authorBrandon Casey <drafnel@gmail.com>
Sat, 21 Mar 2009 22:25:30 +0000 (17:25 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Mar 2009 04:31:24 +0000 (21:31 -0700)
commit869a3d34c1aea92a10bc8eaa994bd55f4b0b04f2
treea2230221bfbb054f9f5277ab03f3c80e03ea6704
parent4d6acb70411cd4fe69610cf1b22f186fa01614f7
t7700: demonstrate repack flaw which may loosen objects unnecessarily

If an unreferenced object exists in both a local pack and in either a pack
residing in an alternate object database or a local kept pack, then the
pack-objects call made by repack will loosen that object only to have it
immediately pruned by repack's call to prune-packed.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7700-repack.sh