author | Eric Wong <normalperson@yhbt.net> | |
Mon, 12 Jan 2009 00:51:10 +0000 (16:51 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Sun, 18 Jan 2009 23:38:27 +0000 (15:38 -0800) | ||
commit | dbc6c74d0858d77e61e092a48d467e725211f8e9 | |
tree | e2bf25ee4cbe252a43e8ada2191d35e066d2bf2b | tree | snapshot |
parent | a83c88525ed6d8d940f8cf7f21e92b189f7844e3 | commit | diff |
git-svn: handle empty files marked as symlinks in SVN
Broken SVN clients generate empty files with the svn:special set
to '*'. This attempts to denote a symlink pointing to a file
with an empty path (""), which cannot be generated on a POSIX
system.
Thus, we mimic the behavior of svn(1) and create a zero-byte
file in our tree.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Broken SVN clients generate empty files with the svn:special set
to '*'. This attempts to denote a symlink pointing to a file
with an empty path (""), which cannot be generated on a POSIX
system.
Thus, we mimic the behavior of svn(1) and create a zero-byte
file in our tree.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | diff | blob | history | |
t/t9131-git-svn-empty-symlink.sh | [new file with mode: 0755] | blob |