summaryrefslogtreecommitdiff
path: root/t/t9300-fast-import.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-06-20 18:01:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-06-20 18:01:00 (GMT)
commit8d6a7e9a198488a1594cd178240fb56085129c78 (patch)
treeaa6606eb5caa6d2062f3253635ae96cc5a52fe75 /t/t9300-fast-import.sh
parent05219a1276341e72d8082d76b7f5ed394b7437a4 (diff)
parentd2986d0f290a065fb8a534fabfff36c40d37ae97 (diff)
downloadgit-8d6a7e9a198488a1594cd178240fb56085129c78.zip
git-8d6a7e9a198488a1594cd178240fb56085129c78.tar.gz
git-8d6a7e9a198488a1594cd178240fb56085129c78.tar.bz2
Merge branch 'ew/fast-import-unpack-limit'
"git fast-import" learned the same performance trick to avoid creating too small a packfile as "git fetch" and "git push" have, using *.unpackLimit configuration. * ew/fast-import-unpack-limit: fast-import: invalidate pack_id references after loosening fast-import: implement unpack limit
Diffstat (limited to 't/t9300-fast-import.sh')
-rwxr-xr-xt/t9300-fast-import.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh
index 4bca35c..74d740d 100755
--- a/t/t9300-fast-import.sh
+++ b/t/t9300-fast-import.sh
@@ -52,6 +52,7 @@ echo "$@"'
###
test_expect_success 'empty stream succeeds' '
+ git config fastimport.unpackLimit 0 &&
git fast-import </dev/null
'
@@ -2690,6 +2691,7 @@ test_expect_success 'R: blob bigger than threshold' '
echo >>input &&
test_create_repo R &&
+ git --git-dir=R/.git config fastimport.unpackLimit 0 &&
git --git-dir=R/.git fast-import --big-file-threshold=1 <input
'