Code

t7700: test that 'repack -a' packs alternate packed objects
authorBrandon Casey <casey@nrlssc.navy.mil>
Thu, 13 Nov 2008 00:50:26 +0000 (18:50 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Nov 2008 01:29:41 +0000 (17:29 -0800)
commit3289b9dec56d34fe05f90c262d11adc0a61e16e7
tree8717646125a87356c2585615baf42791863e9194
parentdaae06259556246959963947752bde4ee2df7b44
t7700: test that 'repack -a' packs alternate packed objects

Previously, when 'repack -a' was called and there were no packs in the local
repository without a .keep file, the repack would fall back to calling
pack-objects with '--unpacked --incremental'. This resulted in the created
pack file, if any, to be missing the packed objects in the alternate object
store. Test that this specific case has been fixed.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7700-repack.sh