summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-03-07 17:54:21 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-03-07 09:07:39 -0800
commitda591a7f4bbe1a208cc5f955523506eb857c45ca (patch)
treeffc69ae0cbb7d1599c66f8392973d4d1c701b203 /t
parentfsck: use streaming API for writing lost-found blobs (diff)
downloadtgif-da591a7f4bbe1a208cc5f955523506eb857c45ca.tar.xz
update-server-info: respect core.bigfilethreshold
This command indirectly calls check_sha1_signature() (add_info_ref -> deref_tag -> parse_object -> ..) , which may put whole blob in memory if the blob's size is under core.bigfilethreshold. As config is not read, the threshold is always 512MB. Respect user settings here. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t1050-large.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1050-large.sh b/t/t1050-large.sh
index dd1bb8422c..4d127f19b7 100755
--- a/t/t1050-large.sh
+++ b/t/t1050-large.sh
@@ -130,7 +130,7 @@ test_expect_success 'git-show a large file' '
'
-test_expect_failure 'repack' '
+test_expect_success 'repack' '
git repack -ad
'