diff options
| author | Tian Yuchen <cat@malon.dev> | 2026-06-19 23:51:52 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-06-19 10:04:56 -0700 |
| commit | e6a79c9eb88e9bb07af94cc35dfdb392de56456a (patch) | |
| tree | 972b09d8c66c077e62bce32937d84ff5dec1f376 /git-commit-script | |
| parent | 5abac96b4be55831c9aa5135ded30a907f76018c (diff) | |
config: use repo_ignore_case() to access core.ignorecase
Replace the accesses to the global 'ignore_case' variable with
calls to 'repo_ignore_case(the_repository)'. This step eliminates
the 'ignore_case' global state.
Note on compat/win32/path-utils.c:
To eliminate the global state, several helper functions
(e.g. 'win32_fspathncmp()') now read from
'repo_ignore_case(the_repository)'. While this introduces
dependency on 'repository.h' into the 'compat/', it avoids massive
refactoring of the signatures across the codebase.
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
