aboutsummaryrefslogtreecommitdiff
path: root/t/t5300-pack-object.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-03-04 23:46:51 -0800
committerJunio C Hamano <gitster@pobox.com>2008-03-05 10:53:11 -0800
commitf2898cfadc85c763a4b8299ab833a2c733c8467a (patch)
tree0399b89908c4f5ea9657dbc5cb8e44c59c3ee13b /t/t5300-pack-object.sh
parentc0e809e5c027443d6f77714a1c5f8c6233ca0a20 (diff)
downloadgit-f2898cfadc85c763a4b8299ab833a2c733c8467a.tar.gz
git-f2898cfadc85c763a4b8299ab833a2c733c8467a.tar.xz
unpack-objects: fix --strict handling
Earlier attempt (which was reverted) called added_object() (by the way, the function should be renamed to resolve_dependents() --- it is called when we have a complete object data, and is responsible to resolve pending deltified objects that use this object as their delta base object) without updating obj_list[nr].sha1 with the correct value. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5300-pack-object.sh')
-rwxr-xr-xt/t5300-pack-object.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh
index ffc638ab2..7647f2142 100755
--- a/t/t5300-pack-object.sh
+++ b/t/t5300-pack-object.sh
@@ -274,7 +274,7 @@ test_expect_success \
packname_4=$(git pack-objects test-4 <obj-list) &&
test 3 = $(ls test-4-*.pack | wc -l)'
-test_expect_failure 'unpacking with --strict' '
+test_expect_success 'unpacking with --strict' '
git config --unset pack.packsizelimit &&
for j in a b c d e f g