From: Junio C Hamano <gitster@pobox.com>
To: Johan Herland <johan@herland.net>
Cc: git@vger.kernel.org, Johannes Sixt <j.sixt@viscovery.net>,
Michael J Gruber <git@drmicha.warpmail.net>
Subject: Re: [PATCH] revision: --ancestry-path
Date: Wed, 21 Apr 2010 02:04:37 -0700 [thread overview]
Message-ID: <7vy6ghb2hm.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <201004211046.22643.johan@herland.net> (Johan Herland's message of "Wed\, 21 Apr 2010 10\:46\:22 +0200")
Johan Herland <johan@herland.net> writes:
> I'm not very familiar with "rewrite_parents", nor do I know exactly how it
> should affect/interoperate with --ancestry-path in all cases, but running
>
> git rev-list D..M -- M.t
>
> produces one commit (M), whereas
>
> git rev-list --ancestry-path D..M -- M.t
>
> produces nothing, so I suspect there is something not quite right here.
Merge simplification gets in our way big time.
D---E-------F
/ \ \
B---C---G---H---I---J
/ \
A-------K---------------L--M
While traversing the history from M, we notice that M's parent is L, and
then further we notice that neither the transition between J to L nor
between K to L change the named path M.t, so we simplify the merge L to
have K as its sole parent. This makes M appear disconnected from D's
decendant chain, and causes the TMP_MARK reverse traversal not to work as
intended.
next prev parent reply other threads:[~2010-04-21 9:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-20 14:49 Getting 'git log' (or something else) to show me the relevant sub-graph? Johan Herland
2010-04-20 15:18 ` Michael J Gruber
2010-04-20 20:45 ` Junio C Hamano
2010-04-20 22:10 ` [PATCH] revision: --ancestry-path Junio C Hamano
2010-04-21 7:34 ` Johan Herland
2010-04-21 7:47 ` Johannes Sixt
2010-04-21 8:01 ` Junio C Hamano
2010-04-21 8:19 ` [PATCH v2] " Junio C Hamano
2010-04-21 8:46 ` [PATCH] " Johan Herland
2010-04-21 9:04 ` Junio C Hamano [this message]
2010-04-21 8:49 ` 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=7vy6ghb2hm.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=j.sixt@viscovery.net \
--cc=johan@herland.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 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.