git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Martin LanghoffNext: Johannes Schindelin
Message 4 of 7 in “[offtopic?] xdelta patch format wrapper”
  1. Martin LanghoffFeb 13, 2008
  2. Junio C HamanoFeb 13, 2008
  3. Martin LanghoffFeb 13, 2008
  4. Junio C HamanoFeb 13, 2008
  5. Johannes SchindelinFeb 13, 2008
  6. Martin LanghoffFeb 13, 2008
  7. Martin LanghoffFeb 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.