diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-09-03 00:57:07 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-09-03 00:57:07 -0400 |
commit | c34f480a68dd46f5d7c36f8a946025cd185da6cb (patch) | |
tree | 3be95f8d2dce07958a344ed383e2a3a562b5729f | |
parent | b6e7513c096bb0e41eedfa4a5bf80290dff360bf (diff) | |
download | emacs.d-c34f480a68dd46f5d7c36f8a946025cd185da6cb.tar.gz |
magit-copy-commit-summary: Don't quote subject
-rw-r--r-- | lisp/init-git.el | 6 |
1 files changed, 3 insertions, 3 deletions
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 '<hash>, (\"<subject>\", <date>)'. If -there is no commit at point or with a prefix argument, prompt for +Format the reference as '<hash>, (<subject>, <date>)'. 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))) |