[PATCH v3 3/3] environment: remove inaccurate repo_config_values comments
- From
Tian Yuchen <cat@malon.dev>
- Date
- Aug 7, 2026, 08:59 UTC
- Message-ID
- <20260807085932.3958759-4-cat@malon.dev>
- In-Reply-To
- <20260807085932.3958759-1-cat@malon.dev>
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 <christian.couder@gmail.com> Mentored-by: Ayush Chandekar <ayu.chandekar@gmail.com> Mentored-by: Olamide Caleb Bello <belkid98@gmail.com> Signed-off-by: Tian Yuchen <cat@malon.dev> --- environment.h | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/environment.h b/environment.h index 6f864c1635..67fd387d35 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