Remove lines from git patch without corrupting
<p>I have a large and complicated git diff. It has about 1200 cases where it removed a line containing the string "fubar" (with the quotes, if that matters). What I want to do is to apply the patch, but don't remove those lines.</p>

<p>I tried removing every line of the following form from the patch file. The problem is that then the line numbers are wrong, so the patch is corrupt. Short of editing the line numbers, I'm wondering if there is a sane way around the problem.</p>

<p>What I removed:</p>

<pre><code>- (whatever here) "fubar" (whatever else here)
</code></pre>