]> git.ipfire.org Git - thirdparty/git.git/commitdiff
repository: adjust the comment of config_values_private_
authorTian Yuchen <cat@malon.dev>
Tue, 14 Jul 2026 03:25:25 +0000 (11:25 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Jul 2026 14:30:24 +0000 (07:30 -0700)
The configurations in 'struct config_values_private_' are not all
parsed in 'git_default_config()'. For example, 'pager_program' is
now parsed in 'pager.c'. Therefore, update the comment.

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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
repository.h

index 36e2db26332c0ee7c3c3dbd52eb53749c6b9c439..9093e6af93db96d991c38fa3c403ce2ff127530b 100644 (file)
@@ -152,7 +152,7 @@ struct repository {
        /* Repository's compatibility hash algorithm. */
        const struct git_hash_algo *compat_hash_algo;
 
-       /* Repository's config values parsed by git_default_config() */
+       /* Repository-specific configuration values. */
        struct repo_config_values config_values_private_;
 
        /* Repository's reference storage format, as serialized on disk. */