[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0a18899: Fix recently broken vc-delete-file with Git
From: |
Dmitry Gutov |
Subject: |
master 0a18899: Fix recently broken vc-delete-file with Git |
Date: |
Thu, 2 Sep 2021 20:36:30 -0400 (EDT) |
branch: master
commit 0a18899f06949884b3078c13054233d635f36d6d
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Fix recently broken vc-delete-file with Git
* lisp/vc/vc-git.el (vc-git-delete-file):
Treat FILE as string, not list (bug#50334).
---
lisp/vc/vc-git.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index a5431ab..037fbcb 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1556,7 +1556,7 @@ This requires git 1.8.4 or later, for the \"-L\" option
of \"git log\"."
(or (vc-git-symbolic-commit next-rev) next-rev)))
(defun vc-git-delete-file (file)
- (vc-git-command nil 0 (vc-git--literal-pathspecs file) "rm" "-f" "--"))
+ (vc-git-command nil 0 (vc-git--literal-pathspec file) "rm" "-f" "--"))
(defun vc-git-rename-file (old new)
(vc-git-command nil 0 (list old new) "mv" "-f" "--"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0a18899: Fix recently broken vc-delete-file with Git,
Dmitry Gutov <=