mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
When the executable bit is untrustworthy and when we are comparing the tree with the working tree, we tried to reuse the mode bits recorded in the index incorrectly (the computation was bogus on little endian architectures). Just use mode from index when it is a regular file. Signed-off-by: Junio C Hamano <junkio@cox.net>
5.6 KiB
5.6 KiB