From: Luben Tuikov <ltuikov@yahoo.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Junio C Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: Re: [PATCH] Enable tree (directory) history display
Date: Sat, 1 Jul 2006 15:45:10 -0700 (PDT) [thread overview]
Message-ID: <20060701224510.38530.qmail@web31806.mail.mud.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0606302029310.12404@g5.osdl.org>
--- Linus Torvalds <torvalds@osdl.org> wrote:
> That count of 145 is the number of commits that actually _change_ Makefile
> some way - and some of them really are merges, because they have a content
> merge, and the merge result is thus different from any of the children. So
> that's a real number. So is 136, in some sense - it just says that we
> don't care about commits, even if those commits _do_ end up changing the
> file.
Indeed, I got the same conclusion using different branches.
(Sorry, I thought your email was from Junio in my last email, it was
your analysis after all.)
> But the important part to realize is that the "971" number is always
> wrong. It's never a really valid number. It contains a lot of extra
> merges, but it does _not_ contain enough of them to connect all the dots,
> and it's thus never correct. Either you should drop merges that don't
> change things (in which case you cannot have full connectivity, and
> "--parents" doesn't make sense), or you should keep them all (or at least
> enough to get full connectivity).
Yes, that makes sense.
Ok, I get similar numbers as you do. After the patch, compared to
the simple case of git-rev-list HEAD -- <path spec>, --parents gives
me only one more commit which is the very first hand made kernel
commit ;-) ; --parents --full-history gives me way too many unrelated
commits about 10x as many; --full-history gives me a _complete_ list.
The simple case fails to report a few commits which are
due to merges, which do indeed change files in the path spec.
(--full-history successfully reported those though).
So your patch plus "--full-history" is what I think we want.
Luben
next prev parent reply other threads:[~2006-07-01 22:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-01 1:00 [PATCH] Enable tree (directory) history display Luben Tuikov
2006-07-01 2:10 ` Junio C Hamano
2006-07-01 2:43 ` Luben Tuikov
2006-07-01 3:01 ` Junio C Hamano
2006-07-01 3:10 ` Luben Tuikov
2006-07-01 3:21 ` Linus Torvalds
2006-07-01 3:45 ` Linus Torvalds
2006-07-01 22:45 ` Luben Tuikov [this message]
2006-07-01 19:38 ` Luben Tuikov
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=20060701224510.38530.qmail@web31806.mail.mud.yahoo.com \
--to=ltuikov@yahoo.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox