diff options
| author | Sean Whitton | 2025-09-22 17:21:38 +0100 |
|---|---|---|
| committer | Sean Whitton | 2025-09-22 17:21:38 +0100 |
| commit | 192a0e177305e896d9e0ebc098be1e4cbb63eece (patch) | |
| tree | 21a30c19552d8d3e7a96b1507f1094c00794729d | |
| parent | 85c42b3a87dde7ce9bd375e89dd70fcdc9d03dba (diff) | |
| download | emacs-192a0e177305e896d9e0ebc098be1e4cbb63eece.tar.gz emacs-192a0e177305e896d9e0ebc098be1e4cbb63eece.zip | |
; * lisp/vc/vc-git.el (vc-git--checkin): Fix error message.
| -rw-r--r-- | lisp/vc/vc-git.el | 2 |
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. | |||
| 1144 | To check in a patch, PATCH-STRING is the patch text. | 1144 | To check in a patch, PATCH-STRING is the patch text. |
| 1145 | It is an error to supply both or neither." | 1145 | It 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)) |