Mercurial > emacs
comparison lisp/vc-git.el @ 107957:54d5490c8e94
* vc-git.el (vc-git-print-log): Doc fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 15 Apr 2010 19:39:22 -0700 |
parents | 4e4364e2100c |
children | 09b4b2c3944d |
comparison
equal
deleted
inserted
replaced
107956:69dc127ae6ba | 107957:54d5490c8e94 |
---|---|
569 (vc-git-command nil nil file "checkout" "-q" "--"))) | 569 (vc-git-command nil nil file "checkout" "-q" "--"))) |
570 | 570 |
571 ;;; HISTORY FUNCTIONS | 571 ;;; HISTORY FUNCTIONS |
572 | 572 |
573 (defun vc-git-print-log (files buffer &optional shortlog start-revision limit) | 573 (defun vc-git-print-log (files buffer &optional shortlog start-revision limit) |
574 "Get change log associated with FILES." | 574 "Get change log associated with FILES. |
575 Note that using SHORTLOG requires at least Git version 1.5." | |
575 (let ((coding-system-for-read git-commits-coding-system)) | 576 (let ((coding-system-for-read git-commits-coding-system)) |
576 ;; `vc-do-command' creates the buffer, but we need it before running | 577 ;; `vc-do-command' creates the buffer, but we need it before running |
577 ;; the command. | 578 ;; the command. |
578 (vc-setup-buffer buffer) | 579 (vc-setup-buffer buffer) |
579 ;; If the buffer exists from a previous invocation it might be | 580 ;; If the buffer exists from a previous invocation it might be |