]> git.99rst.org Git - git.git/commit
read-cache: remove redundant extern declarations
authorTian Yuchen <redacted>
Mon, 20 Jul 2026 10:53:32 +0000 (18:53 +0800)
committerJunio C Hamano <redacted>
Mon, 20 Jul 2026 14:37:05 +0000 (07:37 -0700)
commit8817d7931aab41d4423fbf588f1ab2247070d816
tree89e97e53987e19494e985ca5e75af69f60e15236
parentc69baaf57ba26cf117c2b6793802877f19738b0d
read-cache: remove redundant extern declarations

The 'read-cache.c' file already includes 'environment.h', which provides
the extern declarations for variables like 'trust_executable_bit' and
'has_symlinks'.

Remove the redundant extern declarations inside 'st_mode_from_ce()' to
clean up the code.

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>
read-cache.c
git clone https://git.99rst.org/PROJECT