[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC top of the tree diff and log
From: |
Miles Bader |
Subject: |
Re: VC top of the tree diff and log |
Date: |
Wed, 02 Sep 2009 13:13:43 +0900 |
Dan Nicolaescu <address@hidden> writes:
> > Have you tried to run `vc-print-root-log' on the Emacs repository?
> > I waited for several minutes and eventually abandoned the attempt.
>
> No, I only have the CVS one handy.
> But I've tried it on other things that have lots of lines, and yes it's
> slow. See the "slow output" bugs/threads, they have been partially
> motivated by this.
>
> > We could provide a numeric prefix argument for vc print logs
> > to limit the number of commits to show. I mean translating it
> > to the git command like "git-log -2".
>
> Yes, I have considered limiting the size of the log output, it needs to
> apply not only to the root log, but also to C-x v l. But I
> don't know what the best thing to do here... :-(
What's the slowdown anyway? The underlying git command, invoked via
`shell-command' (with output inserted into an emacs buffer) is almost
instantaneous.
Is it because it's trying to fontify and add text-props or overlays to
the entire buffer?
If that's the problem, it would obviously be _much_ more efficient to
use jit-lock or whatever, since people typically only look at like the
first 1% of such log output (if that!)...
-Miles
--
Suburbia: where they tear out the trees and then name streets after them.