aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Whitton2025-09-22 17:21:38 +0100
committerSean Whitton2025-09-22 17:21:38 +0100
commit192a0e177305e896d9e0ebc098be1e4cbb63eece (patch)
tree21a30c19552d8d3e7a96b1507f1094c00794729d
parent85c42b3a87dde7ce9bd375e89dd70fcdc9d03dba (diff)
downloademacs-192a0e177305e896d9e0ebc098be1e4cbb63eece.tar.gz
emacs-192a0e177305e896d9e0ebc098be1e4cbb63eece.zip
; * lisp/vc/vc-git.el (vc-git--checkin): Fix error message.
-rw-r--r--lisp/vc/vc-git.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 868948c3a35..e7192e092d9 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1144,7 +1144,7 @@ For a regular checkin, FILES is the list of files to check in.
1144To check in a patch, PATCH-STRING is the patch text. 1144To check in a patch, PATCH-STRING is the patch text.
1145It is an error to supply both or neither." 1145It is an error to supply both or neither."
1146 (unless (xor files patch-string) 1146 (unless (xor files patch-string)
1147 (error "Invalid call to `vc-hg--checkin'")) 1147 (error "Invalid call to `vc-git--checkin'"))
1148 (let* ((file1 (or (car files) default-directory)) 1148 (let* ((file1 (or (car files) default-directory))
1149 (root (vc-git-root file1)) 1149 (root (vc-git-root file1))
1150 (default-directory (expand-file-name root)) 1150 (default-directory (expand-file-name root))