* magit.el (magit-visit-item): Pass commit to magit-show-commit, as required.
This commit is contained in:
Marius Vollmer 2008-08-24 03:33:24 +03:00
parent 8b4b909821
commit f6b57a77dc

View file

@ -1106,7 +1106,7 @@ Please see the manual for a complete description of Magit.
(if line (if line
(goto-line line)))) (goto-line line))))
((commit) ((commit)
(magit-show-commit) (magit-show-commit info)
(pop-to-buffer "*magit-commit*")))) (pop-to-buffer "*magit-commit*"))))
(defun magit-show-item-or-scroll-up () (defun magit-show-item-or-scroll-up ()