]> git.99rst.org Git - git.git/commit
environment: move ignore_case into repo_config_values
authorTian Yuchen <redacted>
Fri, 19 Jun 2026 15:51:51 +0000 (23:51 +0800)
committerJunio C Hamano <redacted>
Fri, 19 Jun 2026 17:04:56 +0000 (10:04 -0700)
commit5abac96b4be55831c9aa5135ded30a907f76018c
treeb6a2e7fdeebb03aba62987d5dccc8fe10fb5e1e9
parent9ac3f193c05c2237e2b14ebaa1149e9fc8a1abe0
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 <redacted>
Mentored-by: Ayush Chandekar <redacted>
Mentored-by: Olamide Caleb Bello <redacted>
Signed-off-by: Tian Yuchen <redacted>
Signed-off-by: Junio C Hamano <redacted>
environment.c
environment.h
git clone https://git.99rst.org/PROJECT