summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-04-16 23:11:47 -0400
committerKyle Meyer <kyle@kyleam.com>2020-04-16 23:54:15 -0400
commitc845edda271f5ad76f1fe32da5c37fc6dde4815b (patch)
tree5ff5d4848ec594aeb3e00351ceb1df5275466b35 /lisp
parente67aad0a179e46b4658bde2262d751a656e10ea9 (diff)
downloademacs.d-c845edda271f5ad76f1fe32da5c37fc6dde4815b.tar.gz
km/magit-copy-commit-summary: Use git's new "reference" format
The format in km/magit-copy-commit-summary was based off of Git's convention, and Git v2.25 added a name for it.
Diffstat (limited to 'lisp')
-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 953b8f9..a112099 100644
--- a/lisp/km-magit.el
+++ b/lisp/km-magit.el
@@ -842,7 +842,7 @@ COMMIT."
;; Using `magit-git-string' instead of
;; `magit-rev-format' to pass --date flag.
(magit-git-string "show" "-s" "--date=short"
- "--format=%h (%s, %ad)"
+ "--format=reference"
commit "--")))
(user-error "%s does not exist" commit)))