1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00

Adapt vc-src to the old-new vc-checkin API

* lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
additional optional parameter.
This commit is contained in:
Eli Zaretskii 2015-09-19 20:57:59 +03:00
parent d9d2e37658
commit 2ebcda4da0

View File

@ -227,7 +227,7 @@ This function differs from vc-do-command in that it invokes `vc-src-program'."
file
(file-name-directory file)))))
(defun vc-src-checkin (files comment)
(defun vc-src-checkin (files comment &optional _rev)
"SRC-specific version of `vc-backend-checkin'.
REV is ignored."
(vc-src-command nil files "commit" "-m" comment))