emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99634: (vc-git-print-log): Use "tfor


From: Miles Bader
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99634: (vc-git-print-log): Use "tformat:" for shortlog, instead of "format:"
Date: Tue, 09 Mar 2010 22:24:44 +0900
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99634
committer: Miles Bader <address@hidden>
branch nick: trunk
timestamp: Tue 2010-03-09 22:24:44 +0900
message:
  (vc-git-print-log): Use "tformat:" for shortlog, instead of "format:"
  
  This ensures that the output is newline-terminated.
modified:
  lisp/ChangeLog
  lisp/vc-git.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-03-08 16:17:30 +0000
+++ b/lisp/ChangeLog    2010-03-09 13:24:44 +0000
@@ -1,3 +1,9 @@
+2010-03-09  Miles Bader  <Miles Bader <address@hidden>>
+
+       * 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  <address@hidden>
 
        * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure

=== modified file 'lisp/vc-git.el'
--- a/lisp/vc-git.el    2010-03-07 14:45:53 +0000
+++ b/lisp/vc-git.el    2010-03-09 13:24:44 +0000
@@ -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))
                '("--")))))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]