git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v1 0/3] environment: migrate more global variables, pt.2

From
Tian Yuchen <cat@malon.dev>
Date
Jul 25, 2026, 11:54 UTC
Message-ID
<20260725115428.2214202-1-cat@malon.dev>
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
Next: Tian Yuchen
Message 1 of 9 in “environment: migrate more global variables, pt.2”
  1. 0/3 environment: migrate more global variables, pt.2Tian Yuchen, Jul 25, 2026
  2. 1/3 environment: migrate minimum_abbrev and default_abbrevTian Yuchen, Jul 25, 2026
  3. 2/3 environment: migrate pack_size_limit_cfg into repo_config_valuesTian Yuchen, Jul 25, 2026
  4. 3/3 environment: migrate assume_unchanged into repo_config_valuesTian Yuchen, Jul 25, 2026
  5. Junio C HamanoJul 25, 2026
  6. Tian YuchenJul 26, 2026
  7. 0/2 environment: migrate more global variables intoTian Yuchen, Jul 28, 2026
  8. 1/2 environment: migrate pack_size_limit_cfg into repo_config_valuesTian Yuchen, Jul 28, 2026
  9. 2/2 environment: migrate assume_unchanged into repo_config_valuesTian Yuchen, Jul 28, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.