From c845edda271f5ad76f1fe32da5c37fc6dde4815b Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 16 Apr 2020 23:11:47 -0400 Subject: 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. --- lisp/km-magit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- cgit v1.2.3