title: How to create git-compatible patch from svn revision, that contains binary file changes?
body: <p>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:</p>
  
  <pre><code>svn diff --force --git -r 1:2 &lt;remote url&gt; | git apply --binary -p4 -
  </code></pre>
  
  <p>But I get error about <code>expected /dev/null on line 5</code>.</p>
  
  <p>What is a correct way to achieve my goal?</p>