From: Paul Mackerras <paulus@samba.org>
To: Krzysztof Halasa <khc@pm.waw.pl>
Cc: git@vger.kernel.org
Subject: Re: Prototype git commit viewer
Date: Tue, 10 May 2005 10:33:00 +1000 [thread overview]
Message-ID: <17024.316.828536.230448@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <m3fywwjktf.fsf@defiant.localdomain>
Krzysztof Halasa writes:
> Nice. I wonder how well would it work with a longer history, say all
> linux-2.[56] data. It takes gitk ~ 10 seconds to read ~ 1000 Linux
> commits from cache now, on my system.
Any arguments you give to gitk (other than -b and -d) get passed to
git-rev-tree, so you can just look at a section of the tree. (I just
fixed a bug where it would crash if a commit had a parent that wasn't
listed in the git-rev-tree output, so refetch if you want to try it.)
So you can do e.g.
gitk 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 \
^a2755a80f40e5794ddc20e00f781af9d6320fafb
to see all the commits from v2.6.12-rc4 back to but not including
v2.6.12-rc3 (unfortunately git-rev-tree seems not to cope with being
given tags rather than commit ids).
Ultimately I want to add ways to select the range of commits you want
to look at, e.g. by tags or by dates.
So as long as git-rev-tree remains fast as the history grows, gitk
should remain usable for looking at reasonable-sized chunks of the
history. There are various things I can do to make gitk faster, too,
up to and including tcl bindings for the core git library. :)
> In fact I'm thinking about something working with WWW browser. I've
> written a very simple experimental show-tree tool in C and it seems
> reading current Linux tree (no HTTP output yet) takes 0.065s with it.
>
> Now I'm thinking about output language. (X)HTML seems to be not
> capable (I'm not HTML expert, please correct me if I'm wrong).
>
> Any idea of what can I use?
I think I am even less of an HTML expert than you. :)
Regards,
Paul.
next prev parent reply other threads:[~2005-05-10 0:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 1:40 Prototype git commit viewer Paul Mackerras
2005-05-09 2:53 ` Junio C Hamano
2005-05-09 7:13 ` Petr Baudis
2005-05-09 9:25 ` Benjamin Herrenschmidt
2005-05-09 22:12 ` Paul Mackerras
2005-05-10 0:03 ` Petr Baudis
2005-05-09 18:50 ` Krzysztof Halasa
2005-05-10 0:33 ` Paul Mackerras [this message]
2005-05-10 4:54 ` Greg KH
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=17024.316.828536.230448@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=git@vger.kernel.org \
--cc=khc@pm.waw.pl \
/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).