diff lisp/vc-git.el @ 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 ff09b16a7200
children 3d000dfda7b0 54d5490c8e94
line wrap: on
line diff
--- 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))
 		'("--")))))))