[PATCH v2 3/3] environment: remove inaccurate repo_config_values comments

Tian Yuchen <[email protected]> Thu, 6 Aug 2026 17:25:57 +0800
Newsgroups org.kernel.vger.git
Message-ID <[email protected]>
The section comments in struct repo_config_values do not accurately
describe all members grouped under them. Remove them rather than implying
a relationship that does not exist.

Mentored-by: Christian Couder <[email protected]>
Mentored-by: Ayush Chandekar <[email protected]>
Mentored-by: Olamide Caleb Bello <[email protected]>
Signed-off-by: Tian Yuchen <[email protected]>
---
 environment.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/environment.h b/environment.h
index 1a58b553b5..ab52330159 100644
--- a/environment.h
+++ b/environment.h
@@ -115,7 +115,6 @@ enum object_creation_mode {
 };
 
 struct repo_config_values {
-	/* section "core" config values */
 	char *attributes_file;
 	char *excludes_file;
 	char *editor_program;
@@ -139,11 +138,7 @@ struct repo_config_values {
 	int ignore_case;
 	int trust_executable_bit;
 	int has_symlinks;
-
-	/* section "sparse" config values */
 	int sparse_expect_files_outside_of_patterns;
-
-	/* section "branch" config values */
 	enum branch_track branch_track;
 };
 
-- 
2.43.0