diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-06-20 20:01:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-20 20:01:00 +0200 |
commit | 8d6a7e9a198488a1594cd178240fb56085129c78 (patch) | |
tree | aa6606eb5caa6d2062f3253635ae96cc5a52fe75 /t/t9300-fast-import.sh | |
parent | Git 2.9 (diff) | |
parent | fast-import: invalidate pack_id references after loosening (diff) | |
download | git-8d6a7e9a198488a1594cd178240fb56085129c78.tar.xz git-8d6a7e9a198488a1594cd178240fb56085129c78.zip |
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 4bca35c259..74d740de41 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 ' |