summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.css
diff options
context:
space:
mode:
authorTian Yuchen <cat@malon.dev>2026-07-20 18:53:35 +0800
committerJunio C Hamano <gitster@pobox.com>2026-07-20 07:37:05 -0700
commitdf2bc04e6937ba35b9a905a65dd0137627b46c8b (patch)
treeace98aaec029d81ceac347f3f05eeaa4eed3c252 /gitweb/gitweb.css
parent99c79dabb09a298863cd96398305d2957e60d022 (diff)
environment: move has_symlinks into repo_config_values
Move the global 'has_symlinks' configuration into the repository-specific 'repo_config_values' struct. Introduce 'repo_has_symlinks()' getter for readability. Callers access this configuration by passing in 'repo' when possible, and explicitly fall back to 'the_repository' the rest of the time. Introduce 'platform_has_symlinks()' macro to allow platform specific-customization, primarily to help MinGW. Platforms can override this in their respective headers. 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>
Diffstat (limited to 'gitweb/gitweb.css')
0 files changed, 0 insertions, 0 deletions