mirror of
https://github.com/git/git.git
synced 2025-12-23 12:14:22 +01:00
Ancient commite2b6a9d0added code to pass "file modes" from merge-index to merge-one-file, and then later commit54dd99a1wanted to make sure we do not end up creating a nonsense symlink that points at a path whose name contains conflict markers. However, nobody noticed that the code in merge-index added bye2b6a9d0were stripping the S_IFMT bits and the code in54dd99a1was meaningless. This fixes it. Signed-off-by: Junio C Hamano <junkio@cox.net>
2.7 KiB
2.7 KiB