Skip to content

Commit 27b7264

Browse files
arnavbhategitster
authored andcommitted
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 d284713 (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 <[email protected]> Acked-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f93ff17 commit 27b7264

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

environment.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ extern char *git_attributes_file;
163163
extern char *git_hooks_path;
164164
extern int zlib_compression_level;
165165
extern int pack_compression_level;
166-
extern size_t packed_git_window_size;
167-
extern size_t packed_git_limit;
168166
extern unsigned long big_file_threshold;
169167
extern unsigned long pack_size_limit_cfg;
170168
extern int max_allowed_tree_depth;

0 commit comments

Comments
 (0)