Re: Why does diff --binary include content of files being deleted?
- From
- Allan Wind <allan_wind@lifeintegrity.com>
- Date
- Jun 22, 2008, 04:05 UTC
- Message-ID
- <20080622040536.GA10813@lifeintegrity.com>
- In-Reply-To
- <20080622035118.GD11793@spearce.org>
On 2008-06-21T23:51:18-0400, Shawn O. Pearce wrote:
> In order to apply the diff in reverse we need the old binary data > in the diff output. So that's why its larger.
Makes sense, thanks. In my use case (where I do not need the reverse diff) this adds 500+ MB or 43159% overhead.
When I tried to apply the large diff my virtual private server with 512 MB of memory git apply ran out of memory and died. Is there any way to bound the memory usage of git apply?
/Allan