diff options
| author | Tian Yuchen <cat@malon.dev> | 2026-06-20 22:09:57 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-06-20 08:16:40 -0700 |
| commit | a472af8bfdebe98e4e48a76b83e5424708cb42ef (patch) | |
| tree | cf0d9ef44929e2b07c47ccc4cac71cdd2bf9de10 /gitweb | |
| parent | 71386c21dfb7cea181df6707c34cd79b10fc0a2b (diff) | |
environment: use 'repo->initialized' for repo_protect_hfs() and repo_protect_ntfs()
To match how we refrain from calling repo_config_values() on an
uninitialized instance of a repository object in other two topics
that deal with ignore_case and trust_executable_bit, check the
repo->initialized bit instead of the repo->gitdir member.
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')
0 files changed, 0 insertions, 0 deletions
