summaryrefslogtreecommitdiff
path: root/t/t7700-repack.sh
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2008-11-10 05:59:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-11-12 18:29:22 (GMT)
commitdaae06259556246959963947752bde4ee2df7b44 (patch)
tree173b309e6b071943447b676b9d0d7bd218b0bbf6 /t/t7700-repack.sh
parent0f4dc14ac4945448f7309964afeb879d20408e07 (diff)
downloadgit-daae06259556246959963947752bde4ee2df7b44.zip
git-daae06259556246959963947752bde4ee2df7b44.tar.gz
git-daae06259556246959963947752bde4ee2df7b44.tar.bz2
pack-objects: extend --local to mean ignore non-local loose objects too
With this patch, --local means pack only local objects that are not already packed. Additionally, this fixes t7700 testing whether loose objects in an alternate object database are repacked. Signed-off-by: Brandon Casey <drafnel@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7700-repack.sh')
-rwxr-xr-xt/t7700-repack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7700-repack.sh b/t/t7700-repack.sh
index 43c9cf9..960bff4 100755
--- a/t/t7700-repack.sh
+++ b/t/t7700-repack.sh
@@ -34,7 +34,7 @@ test_expect_success 'objects in packs marked .keep are not repacked' '
test -z "$found_duplicate_object"
'
-test_expect_failure 'loose objects in alternate ODB are not repacked' '
+test_expect_success 'loose objects in alternate ODB are not repacked' '
mkdir alt_objects &&
echo `pwd`/alt_objects > .git/objects/info/alternates &&
echo content3 > file3 &&