From: Junio C Hamano <gitster@pobox.com>
To: Avi Kivity <avi@qumranet.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Document git rev-list --first-parent
Date: Mon, 24 Dec 2007 01:58:12 -0800 [thread overview]
Message-ID: <7vejdcs9cb.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <476F7EA4.1030001@qumranet.com> (Avi Kivity's message of "Mon, 24 Dec 2007 11:40:52 +0200")
Avi Kivity <avi@qumranet.com> writes:
> Junio C Hamano wrote:
>> Avi Kivity <avi@qumranet.com> writes:
>>
>>
>>> Junio C Hamano wrote:
>>>
>>>> Avi Kivity <avi@qumranet.com> writes:
>>>>
>>>>
>>>>> Document git rev-list's --first-parent option. Documentation taken from
>>>>> git log.
>> ...
> [I assume you mean 0053e902; I just copied the output of git log --help]
Ahh, sorry, I thought you did "log -S--first-parent".
> Well, my use case is different. All of the development merges are
> fast-forwards (or plain patch applications); the only multiple-parent
> merges are pulls I do from the main tree in order to advance the
> baseline,...
Yeah, that is what I meant as a special case. If you submit
patches and rebase the remainder of your changes to the updated
upstream (as x.org folks seem to do), then the --first-parent
history will not be your own development but "the global trunk
history." If you are the top-level maintainer and your pull
sometimes ends up as a fast forward and sometimes a real merge,
you will sometimes get a full history of a topic done by
somebody else (if that person rebased on top of you) or just a
summary single merge (otherwise), and the distinction between
these two cases does not have anything to do with whose commits
they are (i.e. mine vs others) or the scope of the changes
(i.e. the trunk history vs side branch development). It would
not be as useful as the "looking at the list of one's own
commits while summarizing out others' developments as merge
commits" world view the --first-parent would give you in your
history.
next prev parent reply other threads:[~2007-12-24 9:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-24 8:20 [PATCH] Document git rev-list --first-parent Avi Kivity
2007-12-24 8:30 ` Junio C Hamano
2007-12-24 8:36 ` Avi Kivity
2007-12-24 9:13 ` Junio C Hamano
2007-12-24 9:40 ` Avi Kivity
2007-12-24 9:58 ` Junio C Hamano [this message]
2007-12-24 10:14 ` Avi Kivity
2007-12-24 16:37 ` Avi Kivity
2007-12-25 9:35 ` 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=7vejdcs9cb.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=avi@qumranet.com \
--cc=git@vger.kernel.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 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).