Git development
 help / color / mirror / Atom feed
* [PATCH v1 0/3] environment: migrate more global variables, pt.2
@ 2026-07-25 11:54 Tian Yuchen
  2026-07-25 11:54 ` [PATCH v1 1/3] environment: migrate minimum_abbrev and default_abbrev Tian Yuchen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tian Yuchen @ 2026-07-25 11:54 UTC (permalink / raw)
  To: git; +Cc: ps, newren, Tian Yuchen

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-25 11:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-25 11:54 [PATCH v1 0/3] environment: migrate more global variables, pt.2 Tian Yuchen
2026-07-25 11:54 ` [PATCH v1 1/3] environment: migrate minimum_abbrev and default_abbrev Tian Yuchen
2026-07-25 11:54 ` [PATCH v1 2/3] environment: migrate pack_size_limit_cfg into repo_config_values Tian Yuchen
2026-07-25 11:54 ` [PATCH v1 3/3] environment: migrate assume_unchanged " Tian Yuchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox