Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
107358:ffae6d506d37 | 107359:4e4364e2100c |
---|---|
585 'async files | 585 'async files |
586 (append | 586 (append |
587 '("log" "--no-color") | 587 '("log" "--no-color") |
588 (when shortlog | 588 (when shortlog |
589 '("--graph" "--decorate" "--date=short" | 589 '("--graph" "--decorate" "--date=short" |
590 "--pretty=format:%d%h %ad %s" "--abbrev-commit")) | 590 "--pretty=tformat:%d%h %ad %s" "--abbrev-commit")) |
591 (when limit (list "-n" (format "%s" limit))) | 591 (when limit (list "-n" (format "%s" limit))) |
592 (when start-revision (list start-revision)) | 592 (when start-revision (list start-revision)) |
593 '("--"))))))) | 593 '("--"))))))) |
594 | 594 |
595 (defvar log-view-message-re) | 595 (defvar log-view-message-re) |