summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2025-12-17 14:18:38 +0000
committerJunio C Hamano <gitster@pobox.com>2025-12-18 08:18:12 +0900
commitb90a926371bbb45b2abd27241a8ef682f1450b99 (patch)
treef120dc373d899ead0950e34510ba7572aff7baac /contrib/persistent-https
parent4ec7ac101b737cd2add8369d0e04eaec1a9f0735 (diff)
downloadgit-b90a926371bbb45b2abd27241a8ef682f1450b99.tar.gz
git-b90a926371bbb45b2abd27241a8ef682f1450b99.zip
apply: symbolic links lack a "trustable executable bit"
When 0482c32c334b (apply: ignore working tree filemode when !core.filemode, 2023-12-26) fixed `git apply` to stop warning about executable files, it inadvertently changed the code flow also for symbolic links and directories. Let's narrow the scope of the special `!trust_executable_git` code path to apply only to regular files. This is needed to let t4115.5(symlink escape when creating new files) pass on Windows when symbolic link support is enabled in the MSYS2 runtime. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions