diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-05-16 11:51:49 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-16 11:51:49 +0900 |
commit | d97141b0b94ae0206ac25ed6334709b18f98f186 (patch) | |
tree | 3ef49d4e7b3d28a873be9a9af50ebe473847b409 /git-compat-util.h | |
parent | b06d3643105c8758ed019125a4399cb7efdcce2c (diff) | |
parent | be4ca290570f9173db64ea1f925b5b3831c6efed (diff) | |
download | git-d97141b0b94ae0206ac25ed6334709b18f98f186.tar.gz |
Merge branch 'dt/raise-core-packed-git-limit'
The default packed-git limit value has been raised on larger
platforms to save "git fetch" from a (recoverable) failure while
"gc" is running in parallel.
* dt/raise-core-packed-git-limit:
Increase core.packedGitLimit
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index bd04564a69..bb4537c0ba 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -616,7 +616,7 @@ extern int git_lstat(const char *, struct stat *); #endif #define DEFAULT_PACKED_GIT_LIMIT \ - ((1024L * 1024L) * (size_t)(sizeof(void*) >= 8 ? 8192 : 256)) + ((1024L * 1024L) * (size_t)(sizeof(void*) >= 8 ? (32 * 1024L * 1024L) : 256)) #ifdef NO_PREAD #define pread git_pread |