[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pointless buttons at end of VC log buffers
From: |
Miles Bader |
Subject: |
Re: pointless buttons at end of VC log buffers |
Date: |
Tue, 16 Feb 2010 22:54:46 +0900 |
Óscar Fuentes <address@hidden> writes:
> By default, Emacs asks to the underlying log command to output
> `vc-log-show-limit' items, which right now defaults to 2000. However, if
> there are less revisions, Emacs would need to detect this circumstance
> somehow for knowing that the buttons are of no use.
Hmm, it seems quite feasible to detect the number, though it might be
backend-specific.
[With git: either count the lines, if doing a short log, or count the
occurances of "^commit" if doing a standard log]
-Miles
--
Defenceless, adj. Unable to attack.