From 55afcba3823fcea19602c22d0becf1cfcf10aa32 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Tue, 12 Aug 2008 00:22:01 +0300 Subject: [PATCH] Visit commits by showing their details. * magit.el (magit-visit-thing-at-point): Handle 'commit' infos. --- magit.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/magit.el b/magit.el index 0b551ddf..c8414244 100644 --- a/magit.el +++ b/magit.el @@ -832,7 +832,9 @@ the current line into your working tree. (magit-diff-info-position info)))) (find-file file) (if line - (goto-line line)))))))) + (goto-line line)))) + ((commit) + (magit-show-commit)))))) (defun magit-describe-thing-at-point () (interactive)