author | Brandon Casey <drafnel@gmail.com> | |
Sat, 21 Mar 2009 22:25:30 +0000 (17:25 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 22 Mar 2009 04:31:24 +0000 (21:31 -0700) | ||
commit | 869a3d34c1aea92a10bc8eaa994bd55f4b0b04f2 | |
tree | a2230221bfbb054f9f5277ab03f3c80e03ea6704 | tree | snapshot |
parent | 4d6acb70411cd4fe69610cf1b22f186fa01614f7 | commit | diff |
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>
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 | diff | blob | history |