summaryrefslogtreecommitdiff
path: root/lisp/vc-git.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2009-11-15 20:28:58 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2009-11-15 20:28:58 +0000
commit6616006b025a584a907e70dfffe54f65fc89e058 (patch)
treed1c2d9a0919cd070081cd22b2ce3ddb7d4419297 /lisp/vc-git.el
parentf8e65267070633b270e2edf46bd9b521168e5358 (diff)
downloademacs-6616006b025a584a907e70dfffe54f65fc89e058.tar.gz
emacs-6616006b025a584a907e70dfffe54f65fc89e058.tar.bz2
emacs-6616006b025a584a907e70dfffe54f65fc89e058.zip
* 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
Diffstat (limited to 'lisp/vc-git.el')
-rw-r--r--lisp/vc-git.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index 9f01a84cc81..c2900dd0b1c 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -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 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
;;; 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