On 2021/10/10 18:38, Michael Albinus wrote: > --8<---------------cut here---------------start------------->8--- > (defun vc-git--literal-pathspec (file) > "Prepend :(literal) path magic to FILE." > ;; Good example of file name that needs this: "test[56].xx". > (when file > (let ((lname (file-local-name file))) > ;; Expand abbreviated file names. > (when (file-name-absolute-p lname) > (setq lname (expand-file-name lname))) > (concat ":(literal)" lname)))) > --8<---------------cut here---------------end--------------->8---
Thanks the patch. I apply this path to emacs-28 HEAD. The remote file is OK. But the Local file is NG. Emacs say "File is not under version control". I try with Git for Windows 2.33.0.2 and Git in cygwin. I will follow the #51112.
