From: Kay Sievers <kay.sievers@vrfy.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: hmm, can't we give the "root" a parent?
Date: Tue, 13 Sep 2005 01:51:49 +0200 [thread overview]
Message-ID: <20050912235149.GA10513@vrfy.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0509121608130.3266@g5.osdl.org>
On Mon, Sep 12, 2005 at 04:09:58PM -0700, Linus Torvalds wrote:
>
>
> On Tue, 13 Sep 2005, Kay Sievers wrote:
> >
> > And I would prefer --pretty=raw with '\0' termination instead of '\n' so I can
> > replace the output from --header with --pretty=raw and can still use the same
> > parsing routine.
>
> It struck me that "--header" works fine with "--parents".
>
> So if you're currently already using "git-rev-list --header" and parsing
> that, just add "--parents" and off you go. That's basically the same as
> --pretty=raw + zero-termination.
Yeah, got the same idea. :) Have it already working. With the history tree
plugged in after "Linux 2.6.12-rc2":
http://ehlo.org/~kay/?p=linux/kernel/git/torvalds/linux-2.6.git;a=shortlog;h=2d137c24e9f433e37ffd10b3d5f418157589a8d2
Grafting worked pretty nice by just doing:
echo "8d38eadb7a97f265f7b3a9e8a30df358c3a546c8 e7e173af42dbf37b1d946f9ee00219cb3b2bea6a" > $LOCALROOT/linux/kernel/git/torvalds/linux-2.6.git/info/grafts
echo $LOCALROOT/linux/kernel/git/tglx/history.git/objects > $LOCALROOT/linux/kernel/git/torvalds/linux-2.6.git/objects/info/alternates
Thanks,
Kay
next prev parent reply other threads:[~2005-09-12 23:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-12 18:11 hmm, can't we give the "root" a parent? Kay Sievers
2005-09-12 18:26 ` Linus Torvalds
2005-09-12 19:59 ` Kay Sievers
2005-09-12 20:21 ` Linus Torvalds
2005-09-12 21:00 ` Kay Sievers
2005-09-12 21:42 ` Linus Torvalds
2005-09-12 22:50 ` Kay Sievers
2005-09-12 23:06 ` Linus Torvalds
2005-09-12 23:09 ` Linus Torvalds
2005-09-12 23:51 ` Kay Sievers [this message]
2005-09-12 18:27 ` A Large Angry SCM
2005-09-16 15:39 ` gitweb search in multi-headed tree Tony Luck
2005-09-17 1:22 ` Kay Sievers
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=20050912235149.GA10513@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=git@vger.kernel.org \
--cc=torvalds@osdl.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.