summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/km-magit.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/km-magit.el b/lisp/km-magit.el
index 0835ff1..5edfbb4 100644
--- a/lisp/km-magit.el
+++ b/lisp/km-magit.el
@@ -449,6 +449,7 @@ COMMIT."
(magit-read-branch-or-commit "Commit" atpoint)))))
(if (magit-rev-verify (concat commit "^{commit}"))
(kill-new (message
+ "%s"
;; Using `magit-git-string' instead of
;; `magit-rev-format' to pass --date flag.
(magit-git-string "show" "-s" "--date=short"