aboutsummaryrefslogtreecommitdiff
path: root/environment.h
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2026-01-09 22:30:12 +0100
committerJunio C Hamano <gitster@pobox.com>2026-01-09 18:36:16 -0800
commite691395365b871608551bfbe20982b53140a50f0 (patch)
tree29d332eb774487b760a9cea3224e8265965d32ed /environment.h
parentd529f3a197364881746f558e5652f0236131eb86 (diff)
downloadgit-e691395365b871608551bfbe20982b53140a50f0.tar.xz
environment: move access to core.maxTreeDepth into repo settings
The config setting core.maxTreeDepth is stored in a global variable and populated by the function git_default_core_config. This won't work if we need to access multiple repositories with different values of that setting in the same process. Store the setting in struct repo_settings instead and track it separately for each repository. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'environment.h')
-rw-r--r--environment.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/environment.h b/environment.h
index 51898c99cd..9efe0b30fb 100644
--- a/environment.h
+++ b/environment.h
@@ -156,7 +156,6 @@ extern char *git_attributes_file;
extern int zlib_compression_level;
extern int pack_compression_level;
extern unsigned long pack_size_limit_cfg;
-extern int max_allowed_tree_depth;
extern int precomposed_unicode;
extern int protect_hfs;