Be quiet.

This commit is contained in:
Marius Vollmer 2008-08-06 02:22:52 +03:00
parent 2867ab7b00
commit 9117e8ae95

View file

@ -138,11 +138,9 @@
(let ((files (mgit-shell-lines "git ls-files")))
(dolist (file files)
(let ((buffer (find-buffer-visiting file)))
(message "Considering %s (%s)" file buffer)
(when (and buffer
(not (verify-visited-file-modtime buffer))
(not (buffer-modified-p buffer)))
(message "Reverting %s" file)
(with-current-buffer buffer
(ignore-errors
(revert-buffer t t t))))))))