diff options
| author | Tian Yuchen <cat@malon.dev> | 2026-06-19 23:51:51 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-06-19 10:04:56 -0700 |
| commit | 5abac96b4be55831c9aa5135ded30a907f76018c (patch) | |
| tree | b6a2e7fdeebb03aba62987d5dccc8fe10fb5e1e9 /git-commit-script | |
| parent | 9ac3f193c05c2237e2b14ebaa1149e9fc8a1abe0 (diff) | |
environment: move ignore_case into repo_config_values
The 'core.ignorecase' configuration which is stored as the
global variable 'ignore_case' acts as a core filesystem
capability flag.
Move this global variable into 'struct repo_config_values' to tie it
to the specific repository instance it was read from. This reduces
global state and aligns with the ongoing libification effort.
To ensure code readability, the getter function
'repo_ignore_case()' is introduced.
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 'git-commit-script')
0 files changed, 0 insertions, 0 deletions
