From: Linus Torvalds <torvalds@osdl.org>
To: Junio C Hamano <junkio@cox.net>, Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH 3/3] Tie it all together: "git log"
Date: Tue, 28 Feb 2006 12:59:03 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.64.0602281251390.22647@g5.osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0602281126340.22647@g5.osdl.org>
On Tue, 28 Feb 2006, Linus Torvalds wrote:
>
> Again, this may not do exactly what the current "git log" does. That's not
> the point. The point is to introduce the fundamental functionality, so
> that people can play with this and improve on it, and fix any of my stupid
> bugs.
Btw, before anybody even pipes up: the missing piece here is the nasty
"filter_commit()" that rev-list.c does, and that really should be moved
into revision.c, and this is where I hit on the "--merge-order" issues.
So for example, if you do "git log -- <filename>" with the new git, it
won't filter out the commits that just change the passed-in <filename>
properly, because the filtering code still exists only in git-rev-list
(even if revision.c now does the traversal).
Same goes for the max-count-based filtering, for the same reason.
So the "process_commit()" handling should be moved into "get_revision()",
but since the merge-order code also hooks into it...
Anyway, apart from that issue (which I think should be trivial to sort out
if we accept breaking --merge-order), the rest looks like it should just
get more testing and handling of the few missing flags from rev-parse in
revision.c, and it should be good.
Linus
next prev parent reply other threads:[~2006-02-28 20:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-28 19:19 [PATCH 0/3] git-rev-list libification effort: the next stage Linus Torvalds
2006-02-28 19:24 ` [PATCH 1/3] git-rev-list libification: rev-list walking Linus Torvalds
2006-02-28 19:26 ` [PATCH 2/3] Introduce trivial new pager.c helper infrastructure Linus Torvalds
2006-02-28 19:30 ` [PATCH 3/3] Tie it all together: "git log" Linus Torvalds
2006-02-28 20:59 ` Linus Torvalds [this message]
2006-02-28 22:22 ` Junio C Hamano
2006-02-28 23:07 ` Linus Torvalds
2006-03-01 12:24 ` [PATCH 1/2] git-log (internal): add approxidate Junio C Hamano
2006-03-01 12:24 ` [PATCH 2/2] git-log (internal): more options Junio C Hamano
2006-03-01 15:43 ` Linus Torvalds
2006-03-01 20:06 ` Junio C Hamano
2006-02-28 23:38 ` [PATCH 3/3] Tie it all together: "git log" Martin Langhoff
2006-03-01 9:02 ` 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=Pine.LNX.4.64.0602281251390.22647@g5.osdl.org \
--to=torvalds@osdl.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.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 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).