[PATCH v2 0/3] environment: clean up repository config handling

Tian Yuchen <[email protected]> Thu, 6 Aug 2026 17:25:54 +0800
Newsgroups org.kernel.vger.git
Message-ID <[email protected]>
Hi all,

This series contains several cleanup patches for repository configuration
handling.

No functional changes are intended. The patches make the related code
more consistent and easier to maintain by improving documentation,
formatting, and the organization of repo_config_values.

RFC:
If there are other small cleanups in this area that would be useful to
include, suggestions are welcome.

Regards, yuchen

Changes since v1:

 - in commit 2/3, drop several blank lines to group the getters under the
 comment. Note that the comment does not apply to repo_excludes_file.

 - in commit 3/3, do not change the order of the members. Instead, drop
 the original comments that do not accurately categorize them.

Tian Yuchen (3):
  environment: simplify repository config getters
  environment: clarify repository config getter documentation
  environment: remove inaccurate repo_config_values comments

 environment.c | 18 +++++++++---------
 environment.h | 19 +++----------------
 2 files changed, 12 insertions(+), 25 deletions(-)

-- 
2.43.0