Commit 4b555ea
committed
apply: symbolic links lack a "trustable executable bit"
When 0482c32 (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>1 parent 44ada84 commit 4b555ea
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3777 | 3777 | | |
3778 | 3778 | | |
3779 | 3779 | | |
3780 | | - | |
| 3780 | + | |
3781 | 3781 | | |
3782 | 3782 | | |
3783 | 3783 | | |
| |||
0 commit comments