mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-22 23:22:15 -05:00
Merge branch 'fix-vs-win-test-with-new-depth-limit-test-cases'
Further limit tree depth max to avoid Windows build running out of the stack space. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -81,7 +81,18 @@ int merge_log_config = -1;
|
||||
int precomposed_unicode = -1; /* see probe_utf8_pathname_composition() */
|
||||
unsigned long pack_size_limit_cfg;
|
||||
enum log_refs_config log_all_ref_updates = LOG_REFS_UNSET;
|
||||
int max_allowed_tree_depth = 2048;
|
||||
int max_allowed_tree_depth =
|
||||
#ifdef _MSC_VER
|
||||
/*
|
||||
* Visual C-compiled Git seems to run into internal stack overflow
|
||||
* detection in the `RtlpAllocateHeap()` function that is called from
|
||||
* within `git_inflate_init()`'s call tree, unless the following value
|
||||
* is low enough.
|
||||
*/
|
||||
512;
|
||||
#else
|
||||
2048;
|
||||
#endif
|
||||
|
||||
#ifndef PROTECT_HFS_DEFAULT
|
||||
#define PROTECT_HFS_DEFAULT 0
|
||||
|
||||
Reference in New Issue
Block a user