Set permissions of each new file before "cvs add"ing it.
commit7c0f7028ee04f135c7481671f05ca4a66072c78f
authorJim Meyering <jim@meyering.net>
Mon, 4 Dec 2006 07:44:08 +0000 (4 08:44 +0100)
committerJunio C Hamano <junkio@cox.net>
Mon, 4 Dec 2006 21:34:45 +0000 (4 13:34 -0800)
treebe5e8bfc824491a1e50a37ecc75773e18503b0d7
parent278fcd7debf19c1efee18b32f8867becb18d1a22
Set permissions of each new file before "cvs add"ing it.

Otherwise, an executable script in git would end up being
checked into the CVS repository without the execute bit.

[jc: with an additional test script from Robin Rosenberg.]

Signed-off-by: Jim Meyering <jim@meyering.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsexportcommit.perl
t/t9200-git-cvsexportcommit.sh