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).
This commit is contained in:
parent
926e69b207
commit
0a18899f06
1 changed files with 1 additions and 1 deletions
|
@ -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" "--"))
|
||||
|
|
Loading…
Add table
Reference in a new issue