diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-06-20 11:01:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-20 11:01:00 -0700 |
commit | 8d6a7e9a198488a1594cd178240fb56085129c78 (patch) | |
tree | aa6606eb5caa6d2062f3253635ae96cc5a52fe75 /t/t9300-fast-import.sh | |
parent | 05219a1276341e72d8082d76b7f5ed394b7437a4 (diff) | |
parent | d2986d0f290a065fb8a534fabfff36c40d37ae97 (diff) | |
download | git-8d6a7e9a198488a1594cd178240fb56085129c78.tar.gz git-8d6a7e9a198488a1594cd178240fb56085129c78.tar.xz |
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-x | t/t9300-fast-import.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index 4bca35c25..74d740de4 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 ' |