mirror of
https://github.com/git-for-windows/git.git
synced 2026-06-13 08:57:56 -05:00
In the previous commit, the gloabl 'trust_executable_bit' was migrated into 'repo_config_values', but low-level helpers in read-cache.c still relied on 'the_repository' to access it. Refactor the signatures of ce_mode_from_stat(), st_mode_from_ce(), fake_lstat(), and check_removed() to accept a 'struct index_state *istate'. This allows these functions to retrieve the repository context via 'istate->repo'. 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>
20 KiB
20 KiB