]> git.ipfire.org Git - thirdparty/git.git/commit - git-svn.perl
git-svn: fix broken symlink workaround when switching branches
authorEric Wong <normalperson@yhbt.net>
Wed, 11 Feb 2009 09:56:58 +0000 (01:56 -0800)
committerEric Wong <normalperson@yhbt.net>
Wed, 11 Feb 2009 10:02:04 +0000 (02:02 -0800)
commit8841b37f2f5ce74359e150254dd138602eb418a7
treefc153571d01dac797814165fbdb929db8f59ec50
parent99366565f1a78f9089c0e505ddaee47b31928f1d
git-svn: fix broken symlink workaround when switching branches

Thanks to Anton Gyllenberg <anton@iki.fi> for the bug report
(and testcase in the following commit):
> Commit dbc6c74d0858d77e61e092a48d467e725211f8e9 "git-svn:
> handle empty files marked as symlinks in SVN" caused a
> regression in an unusual case where a branch has been created
> in SVN, later deleted and then created again from another
> branch point and the original branch point had empty files not
> in the new branch. In some cases git svn fetch will then fail
> while trying to fetch the empty file from the wrong SVN
> revision.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl