Speed up log washing.

* magit.el (magit-wash-log): Bind magit-old-top-section to nil while
washing log entries so that no time is wasted looking up the old
visbility state.
This commit is contained in:
Marius Vollmer 2008-09-10 23:23:47 +03:00
parent 666459c85d
commit bc1836a7b1

View file

@ -1013,7 +1013,8 @@ Please see the manual for a complete description of Magit.
t)
(defun magit-wash-log ()
(magit-wash-sequence #'magit-wash-log-line))
(let ((magit-old-top-section nil))
(magit-wash-sequence #'magit-wash-log-line)))
(defvar magit-currently-shown-commit nil)