From b74364d2da86ba28e928a783f7e19ccc9fb8671f Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 20 Jun 2016 01:45:31 -0400 Subject: magit-copy-commit-summary: protect format characters --- lisp/km-magit.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp/km-magit.el') 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" -- cgit v1.2.3