Fix for appending an explicit number of new log entries.

This commit is contained in:
Phil Jackson 2010-04-25 19:14:41 +01:00
parent a347b0de48
commit 1701272fce

View file

@ -3340,7 +3340,7 @@ With a non numeric prefix ARG, show all entries"
(make-local-variable 'magit-log-cutoff-length)
(cond
((numberp arg)
(setq magit-log-cutoff-length (+ magit-log-cutoff-length added)))
(setq magit-log-cutoff-length (+ magit-log-cutoff-length arg)))
(arg
(setq magit-log-cutoff-length magit-log-infinite-length))
(t (setq magit-log-cutoff-length (* magit-log-cutoff-length 2))))