diff options
author | Brandon Casey <casey@nrlssc.navy.mil> | 2009-03-19 22:47:52 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-20 13:32:33 -0700 |
commit | 79bc4c715516fdb393d107359327c1e7fbb8bf04 (patch) | |
tree | 04fa7c94626afb25a5fd433845404fb4695af047 /t | |
parent | git-repack.sh: don't use --kept-pack-only option to pack-objects (diff) | |
download | tgif-79bc4c715516fdb393d107359327c1e7fbb8bf04.tar.xz |
pack-objects: only repack or loosen objects residing in "local" packs
These two features were invented for use by repack when repack will delete
the local packs that have been made redundant. The packs accessible
through alternates are not deleted by repack, so the objects contained in
them are still accessible after the local packs are deleted. They do not
need to be repacked into the new pack or loosened. For the case of
loosening they would immediately be deleted by the subsequent prune-packed
that is called by repack anyway.
This fixes the test
'packed unreachable obs in alternate ODB are not loosened' in t7700.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-x | t/t7700-repack.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7700-repack.sh b/t/t7700-repack.sh index adba8a1c65..1ef3892f92 100755 --- a/t/t7700-repack.sh +++ b/t/t7700-repack.sh @@ -94,7 +94,7 @@ test_expect_success 'packed obs in alternate ODB kept pack are repacked' ' done ' -test_expect_failure 'packed unreachable obs in alternate ODB are not loosened' ' +test_expect_success 'packed unreachable obs in alternate ODB are not loosened' ' rm -f alt_objects/pack/*.keep && mv .git/objects/pack/* alt_objects/pack/ && csha1=$(git rev-parse HEAD^{commit}) && |