I want to apply diff from SVN revision to some directory. But that diff contains changes to binary files (.png images). I’m trying to use git-apply, like this:
svn diff --force --git -r 1:2 <remote url> | git apply --binary -p4 -
But I get error about expected /dev/null on line 5.
What is a correct way to achieve my goal?
The real problem is about
svn diff, since it doesn’t generate diff very well.The solution is as follows: