[PATCH] When copying or renaming, keep the mode, please
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 17 Aug 2005 07:01:07 +0000 (09:01 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 17 Aug 2005 19:13:12 +0000 (12:13 -0700)
commit35cc4bcd10862db190df9685b7ad221f2a25404f
tree58597968f13ac962d1607c6c7c0cc2beedd71657
parente4aec26f8068100ae7b496b904d013943626d8c2
[PATCH] When copying or renaming, keep the mode, please

Without this patch, git-apply does not retain the mode when renaming or
copying files.

[jc: Good catch, Johannes.  I added a test case to demonstrate the
breackage in the original.]

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
apply.c
t/t4102-apply-rename.sh [new file with mode: 0755]