mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
; * lisp/vc/vc-git.el (vc-git--checkin): Fix error message.
This commit is contained in:
parent
85c42b3a87
commit
192a0e1773
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue