git-svn: eol_cp corner-case fixes