Mercurial > emacs
changeset 107359:4e4364e2100c
(vc-git-print-log): Use "tformat:" for shortlog, instead of "format:"
This ensures that the output is newline-terminated.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 09 Mar 2010 22:24:44 +0900 |
parents | ffae6d506d37 |
children | adf240ef5c11 803becae9dff cfe3ed6940e9 cea18e9685bf |
files | lisp/ChangeLog lisp/vc-git.el |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Mon Mar 08 19:14:53 2010 +0200 +++ b/lisp/ChangeLog Tue Mar 09 22:24:44 2010 +0900 @@ -1,3 +1,9 @@ +2010-03-09 Miles Bader <Miles Bader <miles@gnu.org>> + + * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog, + instead of "format:"; this ensures that the output is + newline-terminated. + 2010-03-08 Chong Yidong <cyd@stupidchicken.com> * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
--- a/lisp/vc-git.el Mon Mar 08 19:14:53 2010 +0200 +++ b/lisp/vc-git.el Tue Mar 09 22:24:44 2010 +0900 @@ -587,7 +587,7 @@ '("log" "--no-color") (when shortlog '("--graph" "--decorate" "--date=short" - "--pretty=format:%d%h %ad %s" "--abbrev-commit")) + "--pretty=tformat:%d%h %ad %s" "--abbrev-commit")) (when limit (list "-n" (format "%s" limit))) (when start-revision (list start-revision)) '("--")))))))