Visit commits by showing their details.
* magit.el (magit-visit-thing-at-point): Handle 'commit' infos.
This commit is contained in:
parent
175c816cf2
commit
55afcba382
1 changed files with 3 additions and 1 deletions
4
magit.el
4
magit.el
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue