From: Juri Linkov Date: Fri, 27 Aug 2021 17:09:08 +0000 (+0300) Subject: Revert part of 3572613550f5d1d0b3392dbc809b32f3989e2981 (bug#39452) X-Git-Tag: emacs-28.0.90~1283 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3360f03926c304ee6a769fa1980a0160b173cd06;p=emacs.git Revert part of 3572613550f5d1d0b3392dbc809b32f3989e2981 (bug#39452) * lisp/vc/vc-git.el (vc-git-rename-file): Don't use vc-git--literal-pathspecs. --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 396d55adb2d..1cd200cd134 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1555,7 +1555,7 @@ This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"." (vc-git-command nil 0 (vc-git--literal-pathspecs file) "rm" "-f" "--")) (defun vc-git-rename-file (old new) - (vc-git-command nil 0 (vc-git--literal-pathspecs (list old new)) "mv" "-f" "--")) + (vc-git-command nil 0 (list old new) "mv" "-f" "--")) (defun vc-git-mark-resolved (files) (vc-git-command nil 0 (vc-git--literal-pathspecs files) "add"))