From: Ingo Molnar <mingo@elte.hu>
To: Paul Mackerras <paulus@samba.org>
Cc: git@vger.kernel.org
Subject: Re: gitk-1.0 released
Date: Fri, 20 May 2005 13:22:29 +0200 [thread overview]
Message-ID: <20050520112229.GA5606@elte.hu> (raw)
In-Reply-To: <17037.5109.556362.904185@cargo.ozlabs.ibm.com>
* Paul Mackerras <paulus@samba.org> wrote:
> > (and the biggest missing feature of GIT right now is author +
> > last-commit annotated file viewing which could be integrated into gitk
> > a'ka BK's revtool: selecting a given line of the file would bring one to
> > that commit, etc.)
>
> Yes, indeed. I'll have to think about how to do it in a responsive
> fashion, since getting the necessary information involves reading all
> the commits and all the tree objects back to the beginning of time,
> AFAICS. [...]
i guess so. A possible solution seems to be to read every object
starting at the oldest one (assuming it's possible to get a list of
object IDs that are predecessors), and to split the oldest object up
into 'line' objects, attaching the (same) object ID to every line. Then
the algorithm would go forward in time and would process every diff from
that point on, and would add/remove line objects, attaching the new
object IDs as new lines get added. The resulting set of lines then
contain all the metadata needed (== object ID they originate from).
i dont think other SCMs can do this much faster: you need to go back to
the last (still relevant) version and have to process the deltas from
that point on. Delta-based formats would be somewhat faster and easier
to process, but probably not that much faster in terms of IO overhead.
Ingo
next prev parent reply other threads:[~2005-05-20 11:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 13:05 gitk-1.0 released Paul Mackerras
2005-05-19 13:24 ` Ingo Molnar
2005-05-19 13:30 ` Ingo Molnar
2005-05-19 22:32 ` Paul Mackerras
2005-05-20 11:22 ` Ingo Molnar [this message]
2005-05-20 11:33 ` Ingo Molnar
2005-05-20 18:18 ` Kari Hameenaho
2005-05-20 19:07 ` Linus Torvalds
2005-05-21 6:40 ` Jon Seymour
2005-05-21 16:35 ` Linus Torvalds
2005-05-19 23:13 ` Benjamin Herrenschmidt
2005-05-20 4:55 ` Frank Sorenson
2005-05-20 1:10 ` walt
2005-05-28 11:47 ` Ingo Molnar
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=20050520112229.GA5606@elte.hu \
--to=mingo@elte.hu \
--cc=git@vger.kernel.org \
--cc=paulus@samba.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).