; * lisp/vc/vc-git.el (vc-git--checkin): Fix error message.

This commit is contained in:
Sean Whitton 2025-09-22 17:21:38 +01:00
parent 85c42b3a87
commit 192a0e1773

View file

@ -1144,7 +1144,7 @@ For a regular checkin, FILES is the list of files to check in.
To check in a patch, PATCH-STRING is the patch text.
It is an error to supply both or neither."
(unless (xor files patch-string)
(error "Invalid call to `vc-hg--checkin'"))
(error "Invalid call to `vc-git--checkin'"))
(let* ((file1 (or (car files) default-directory))
(root (vc-git-root file1))
(default-directory (expand-file-name root))