summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_--stat_initial..side
diff options
context:
space:
mode:
authorTian Yuchen <cat@malon.dev>2026-06-10 20:43:52 +0800
committerJunio C Hamano <gitster@pobox.com>2026-06-12 05:45:09 -0700
commit71386c21dfb7cea181df6707c34cd79b10fc0a2b (patch)
treec60e11a2c0207741ba8fc3d959f4ce375ee5848c /t/t4013/diff.diff_--stat_initial..side
parent9ac3f193c05c2237e2b14ebaa1149e9fc8a1abe0 (diff)
environment: move 'protect_hfs' and 'protect_ntfs' into 'repo_config_values'
Move the global 'protect_hfs' and 'protect_ntfs' configurations into the repository-specific 'repo_config_values' struct. This will help with the elimination of 'the_repository' To ensure code readability, the getter functions 'repo_protect_hfs()' and 'repo_protect_ntfs()' have been introduced. For now, associated functions access this configuration by explicitly falling back to 'the_repository', which needs to be addressed in the future. Note: In 't/helper/test-path-utils.c', there is a function 'protect_ntfs_hfs_benchmark()' where these two global variables are used as loop iterators. New local variables have been created to replace them. 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 't/t4013/diff.diff_--stat_initial..side')
0 files changed, 0 insertions, 0 deletions