Visit commits by showing their details.

* magit.el (magit-visit-thing-at-point): Handle 'commit' infos.
This commit is contained in:
Marius Vollmer 2008-08-12 00:22:01 +03:00
parent 175c816cf2
commit 55afcba382

View file

@ -832,7 +832,9 @@ the current line into your working tree.
(magit-diff-info-position info)))) (magit-diff-info-position info))))
(find-file file) (find-file file)
(if line (if line
(goto-line line)))))))) (goto-line line))))
((commit)
(magit-show-commit))))))
(defun magit-describe-thing-at-point () (defun magit-describe-thing-at-point ()
(interactive) (interactive)