summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/km-magit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/km-magit.el b/lisp/km-magit.el
index 39e70b1..8faceeb 100644
--- a/lisp/km-magit.el
+++ b/lisp/km-magit.el
@@ -713,7 +713,7 @@ Format the reference as '<hash>, (<subject>, <date>)'. If there
is no commit at point or with a prefix argument, prompt for
COMMIT."
(interactive
- (let ((atpoint (or (and magit-blame-mode (magit-blame-chunk-get :hash))
+ (let ((atpoint (or (and magit-blame-mode (oref (magit-current-blame-chunk) orig-rev))
(magit-branch-or-commit-at-point)
(magit-tag-at-point))))
(list (or (and (not current-prefix-arg) atpoint)