]> git.ipfire.org Git - thirdparty/git.git/commitdiff
environment.h: remove unused variables
authorArnav Bhate <bhatearnav@gmail.com>
Sat, 5 Apr 2025 16:45:32 +0000 (22:15 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Apr 2025 16:24:46 +0000 (09:24 -0700)
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>
environment.h

index 2f43340f0b553a3b74b692c4c8a3836cf477506a..b6022b35ef84a08a47411b50de0591a40886f142 100644 (file)
@@ -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;