diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-04-16 23:11:47 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-04-16 23:54:15 -0400 |
commit | c845edda271f5ad76f1fe32da5c37fc6dde4815b (patch) | |
tree | 5ff5d4848ec594aeb3e00351ceb1df5275466b35 | |
parent | e67aad0a179e46b4658bde2262d751a656e10ea9 (diff) | |
download | emacs.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.
-rw-r--r-- | lisp/km-magit.el | 2 |
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))) |