[PATCH v1 0/3] environment: migrate more global variables, pt.2
Tian Yuchen <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <[email protected]> |
Hi all, This series moves: - (1/3) minimum_abbrev and default_abbrev - (2/3) pack_size_limit_cfg - (3/3) assume_unchanged into repo_config_values to continue the libification effort. Note: in commit 1/3, we need (repo != the_repository) checks in the getters, because some subsystems where the readers of _abbrev configurations live forbid the use of 'the_repository' and only accept 'repo' [1]. We have to explicitly intercept those intances that are not 'the_repository'. Thanks! yuchen [1] [PATCH v3 5/6] merge-ort: prevent the_repository from coming back https://lore.kernel.org/git/42a25768784492a4e8187bad0b070ccb27e980f7.1771718393.git.gitgitgadget@gmail.com/ Tian Yuchen (3): environment: migrate minimum_abbrev and default_abbrev environment: migrate pack_size_limit_cfg into repo_config_values environment: migrate assume_unchanged into repo_config_values builtin/pack-objects.c | 2 +- builtin/update-index.c | 3 ++- environment.c | 39 ++++++++++++++++++++++++++++++--------- environment.h | 11 ++++++++--- merge-ort.c | 7 ++++--- object-file.c | 5 +++-- object-name.h | 4 ++-- read-cache.c | 9 ++++++--- replay.c | 2 +- sequencer.c | 5 +++-- 10 files changed, 60 insertions(+), 27 deletions(-) -- 2.43.0