aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnav Bhate <bhatearnav@gmail.com>2025-04-05 22:15:32 +0530
committerJunio C Hamano <gitster@pobox.com>2025-04-09 09:24:46 -0700
commit27b7264206613a0fb36b4df21d24939b2a589095 (patch)
tree3babcfca8918411de9a041f62b46f13a33dbdb82
parentGit 2.48.1 (diff)
downloadgit-27b7264206613a0fb36b4df21d24939b2a589095.tar.gz
git-27b7264206613a0fb36b4df21d24939b2a589095.zip
environment.h: remove unused variables
packed_git_window_size and packed_git_limit are not used anywhere in the codebase. A search found that all references were removed in d284713bae (config: make `packed_git_(limit|window_size)` non-global variables, 2024-12-03), except the ones in this file, as they were moved to struct repo_settings. Remove packed_git_window_size and packed_git_limit from environment.h. Signed-off-by: Arnav Bhate <bhatearnav@gmail.com> Acked-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--environment.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/environment.h b/environment.h
index 2f43340f0b..b6022b35ef 100644
--- a/environment.h
+++ b/environment.h
@@ -163,8 +163,6 @@ extern char *git_attributes_file;
extern char *git_hooks_path;
extern int zlib_compression_level;
extern int pack_compression_level;
-extern size_t packed_git_window_size;
-extern size_t packed_git_limit;
extern unsigned long big_file_threshold;
extern unsigned long pack_size_limit_cfg;
extern int max_allowed_tree_depth;