summaryrefslogtreecommitdiffstats
path: root/t/t7700-repack.sh
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2008-11-10 06:59:58 +0100
committerJunio C Hamano <gitster@pobox.com>2008-11-12 19:29:22 +0100
commitdaae06259556246959963947752bde4ee2df7b44 (patch)
tree173b309e6b071943447b676b9d0d7bd218b0bbf6 /t/t7700-repack.sh
parentsha1_file.c: split has_loose_object() into local and non-local counterparts (diff)
downloadgit-daae06259556246959963947752bde4ee2df7b44.tar.xz
git-daae06259556246959963947752bde4ee2df7b44.zip
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 43c9cf9139..960bff47fa 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 &&