# HG changeset patch # User Miles Bader # Date 1268141084 -32400 # Node ID 4e4364e2100c1f31d43097ff344f09352da24611 # Parent ffae6d506d37b61a32ca38d68c677e1ec46ad322 (vc-git-print-log): Use "tformat:" for shortlog, instead of "format:" This ensures that the output is newline-terminated. diff -r ffae6d506d37 -r 4e4364e2100c lisp/ChangeLog --- 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 > + + * 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 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure diff -r ffae6d506d37 -r 4e4364e2100c lisp/vc-git.el --- 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)) '("--")))))))