apply svn patch to git repository
@emcconville answer works if you have patch
as an executable command in the command line.
For others:
Go to the svn repo
svn diff --git >> gitFormat.patch
From your (Copy this file to the) git repo
git apply gitFormat.patch
I've had a few issues applying SVN generated patches with git. I'd recommend applying any subversion patches directly with patch
command, and use git to verify that said patch was successfully applied.
$ patch -p0 < xxx_parser.patch
$ git diff