git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Langhoff <martin@catalyst.net.nz>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, jmacd@cs.berkeley.edu
Subject: Re: [offtopic?] xdelta patch format wrapper
Date: Wed, 13 Feb 2008 17:13:20 +1300	[thread overview]
Message-ID: <47B26E60.70005@catalyst.net.nz> (raw)
In-Reply-To: <7vy79py1it.fsf@gitster.siamese.dyndns.org>

Junio C Hamano wrote:
> If you want to reuse that much of git

Wondering about the confusion over this. When I talk about using xdelta,
it's not the implementation in git. I intend to ship this xdelta.exe
http://evanjones.ca/software/xdelta-win32.html (for Windows users at
least!).

What I am sounding out is writing a wrapper written in PHP (I'd write it
in Perl, but we're already shipping the PHP interpreter) that does all
the parsing of the file, splits out the actual "xdelta" blobs and calls
xdelta.exe to apply them to the relevant files.

Someone more talented than me would write it in perfectly portable C so
that on day one works on Win32, OSX, unices and linuces. I can't so I'll
look like a wimp but I'll deliver something workable ;-) But there's no
reason the PHP or Perl implementation can't be considered a working
prototype for a subsequent C version.

Specially if the file format makes sense. And we've been complaining
about problems and ambiguities in the unified diff header. So... I'll
rephrase my question

   "What would a unified diff header that didn't suck look like?"

(Ah, can't find the threads where the ambiguities of diff headers were
discussed. Alas, the Google Gods aren't with me today.)

cheers,



m
-- 

      parent reply	other threads:[~2008-02-13  4:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13  1:53 [offtopic?] xdelta patch format wrapper Martin Langhoff
2008-02-13  3:32 ` Junio C Hamano
2008-02-13  3:46   ` Martin Langhoff
2008-02-13  3:56     ` Junio C Hamano
2008-02-13 11:33     ` Johannes Schindelin
2008-02-13 17:53       ` Martin Langhoff
2008-02-13  4:13   ` Martin Langhoff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47B26E60.70005@catalyst.net.nz \
    --to=martin@catalyst.net.nz \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=jmacd@cs.berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).