From: Linus Torvalds <torvalds@osdl.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: Prepare "git-merge-tree" for future work
Date: Thu, 29 Jun 2006 19:32:22 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0606291925230.12404@g5.osdl.org> (raw)
In-Reply-To: <7vejx7mmaj.fsf@assigned-by-dhcp.cox.net>
On Thu, 29 Jun 2006, Junio C Hamano wrote:
> Linus Torvalds <torvalds@osdl.org> writes:
>
> > I punted on trying to use the proper git diff interfaces (they are very
> > tightly tied into the "diff_filespec" model - Junio, it might be nice if
> > there was some way to use them in a setting where that isn't necessarily
> > as natural).
>
> I am not quite sure what you mean.
For what I wanted to do, I didn't see an easy way to add/populate a new
filespec. It was easier to just use the raw libxdiff interfaces, but
that's really just because I know the interfaces.
In contrast, the ones to diff_filespec I've never really used, and I did
not want to compare blob objects, I very much wanted to compare in-memory
buffers (_and_ potentially blobs).
So if you can show an easy example of how to populate a set of filespec
pairs (not with blobs - with in-memory generated data) and insert them
onto the lists, that would be good.
In fact, maybe you can show me what git-merge-tree needs to do..
Hint hint.
Linus
next prev parent reply other threads:[~2006-06-30 2:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-28 18:18 Prepare "git-merge-tree" for future work Linus Torvalds
2006-06-28 21:09 ` Linus Torvalds
2006-06-30 2:04 ` Junio C Hamano
2006-06-30 2:32 ` Linus Torvalds [this message]
2006-06-30 20:52 ` Junio C Hamano
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=Pine.LNX.4.64.0606291925230.12404@g5.osdl.org \
--to=torvalds@osdl.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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).