]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-git-print-log): Use "tformat:" for shortlog, instead of "format:"
authorMiles Bader <miles@gnu.org>
Tue, 9 Mar 2010 13:24:44 +0000 (22:24 +0900)
committerMiles Bader <miles@gnu.org>
Tue, 9 Mar 2010 13:24:44 +0000 (22:24 +0900)
This ensures that the output is newline-terminated.

lisp/ChangeLog
lisp/vc-git.el

index 04ba881c59e7eab5adb6da9de52c3167e3a8cfe7..0157538dc47eb05fba8b17bd25b76cb1a5241f31 100644 (file)
@@ -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
index 9362ad743eeeb60b5a852e21ecf47caad10ef4a9..8799e15305f07746945e14c6820aae5f8ae65cc1 100644 (file)
@@ -587,7 +587,7 @@ or an empty string if none."
                '("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))
                '("--")))))))