[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: |
Dan Nicolaescu |
Subject: |
Re: VC top of the tree diff and log |
Date: |
Tue, 1 Sep 2009 21:34:47 -0700 (PDT) |
Miles Bader <address@hidden> writes:
> 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?
Don't know for sure, but from what I remember last time I looked at this
the problem was not the fontification.