Re: [offtopic?] xdelta patch format wrapper
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 13, 2008, 03:56 UTC
- Message-ID
- <7vprv1y0e2.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <47B26830.6090501@catalyst.net.nz>
Martin Langhoff <martin@catalyst.net.nz> writes:
Show 13 quoted lines
> Junio C Hamano wrote: >> I am lost as to your objective because you seem to be keeping a >> whole LOT more than I would have imagined for a specialized >> purpose file format. > > My source files are 2 zipfiles that I know contain 1 xml file, and then > may contain any arbitrary files. As a specialised file format is a > pretty general case ;-) Because of compression, xdeltas of the zipfiles > aren't good. So what I want to do is to diff the 2 unzipped directories > - nothing git-specific, I could use diff -urN. > > Git diff *is* better in that it handles binary files, but we pay a > sizable cost in being reversible.
Did I forget to say that I am Ok with --oneway option?
In fact, we started as oneway but we _fixed_ it to make it reversible soon after the initial version ;-) So "git apply" still can grok oneway format.