From: Johannes Sixt <j.sixt@viscovery.net>
To: Git Mailing List <git@vger.kernel.org>
Subject: Path filtered history not maximally simplified
Date: Fri, 21 Mar 2008 13:46:48 +0100 [thread overview]
Message-ID: <47E3AE38.5060405@viscovery.net> (raw)
While investigating a path-filtered history in gitk, I noticed a layout
like this:
--A---------M--4--N
\ / /
1--2--3-----5
There are no commits displayed on the upper line between A and M.
Shouldn't this have been simplified to:
4--N
/ /
--A--1--2--3--5
The gitk command used is simply:
$ gitk some/file
and if I run
$ git log some/file
then M is reported with two parents (so it's not gitk's fault). The above
is just the most recent part of the history; there's a lot more older
history, and it is non-trivial with numerous merges (in the complete
history). In particular, there _are_ commits on the upper branch between A
and M, but none of them touches some/file.
Do I need to adjust my expectations or does this look like a bug?
-- Hannes
PS: This is with 1.5.5.rc0.21.g740fd.
next reply other threads:[~2008-03-21 12:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-21 12:46 Johannes Sixt [this message]
2008-03-21 13:49 ` Path filtered history not maximally simplified Johannes Sixt
2008-03-22 19: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=47E3AE38.5060405@viscovery.net \
--to=j.sixt@viscovery.net \
--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).