From c34f480a68dd46f5d7c36f8a946025cd185da6cb Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 3 Sep 2015 00:57:07 -0400 Subject: magit-copy-commit-summary: Don't quote subject --- lisp/init-git.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/init-git.el') diff --git a/lisp/init-git.el b/lisp/init-git.el index 53681aa..db7a508 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -394,8 +394,8 @@ returning nil.") (defun km/magit-copy-commit-summary (commit) "Copy a citation for the COMMIT at point. -Format the reference as ', (\"\", )'. If -there is no commit at point or with a prefix argument, prompt for +Format the reference as ', (, )'. If there +is no commit at point or with a prefix argument, prompt for COMMIT." (interactive (let ((atpoint (or (and magit-blame-mode (magit-blame-chunk-get :hash)) @@ -408,7 +408,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=%h (%s, %ad)" commit "--"))) (user-error "%s does not exist" commit))) -- cgit v1.2.3