Mercurial > emacs
diff lisp/vc-git.el @ 106033:2bed02fa3041
* vc.el (vc-log-show-limit): New variable.
(vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
when using a prefix argument.
(vc-print-log-internal): Add new argument LIMIT.
* vc-svn.el (vc-svn-print-log):
* vc-mtn.el (vc-mtn-print-log):
* vc-hg.el (vc-hg-print-log):
* vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
pass it to the log command when set. Make the BUFFER argument
non-optional.
* vc-sccs.el (vc-sccs-print-log):
* vc-rcs.el (vc-rcs-print-log):
* vc-git.el (vc-git-print-log):
* vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
ignore it. Make the BUFFER argument non-optional
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 15 Nov 2009 20:28:58 +0000 |
parents | 78f37cce705f |
children | 2f9ecf376c7a |
line wrap: on
line diff
--- a/lisp/vc-git.el Sun Nov 15 20:25:55 2009 +0000 +++ b/lisp/vc-git.el Sun Nov 15 20:28:58 2009 +0000 @@ -77,7 +77,7 @@ ;; - merge-news (file) see `merge' ;; - steal-lock (file &optional revision) NOT NEEDED ;; HISTORY FUNCTIONS -;; * print-log (files &optional buffer shortlog) OK +;; * print-log (files buffer &optional shortlog limit) OK ;; - log-view-mode () OK ;; - show-log-entry (revision) OK ;; - comment-history (file) ?? @@ -508,7 +508,7 @@ ;;; HISTORY FUNCTIONS -(defun vc-git-print-log (files &optional buffer shortlog) +(defun vc-git-print-log (files buffer &optional shortlog limit) "Get change log associated with FILES." (let ((coding-system-for-read git-commits-coding-system)) ;; `vc-do-command' creates the buffer, but we need it before running