[PATCH v3 0/3] environment: clean up repository config handling
Tian Yuchen <[email protected]>
| 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 v2: - in the commit message of patch 1/3, explain why NULL repository is not allowed. - in patch 2/3, mention in the comment that NULL repository shouldn't be passed in. Tian Yuchen (3): environment: drop redundant NULL checks in config getters environment: clarify repository config getter documentation environment: remove inaccurate repo_config_values comments environment.c | 18 +++++++++--------- environment.h | 20 ++++---------------- 2 files changed, 13 insertions(+), 25 deletions(-) -- 2.43.0