Subject: Re: bug#50334: 28.0.50; vc-delete-file fails with wrong-type-argument

From: Dmitry Gutov <[email-masked]>
Date: Fri, 3 Sep 2021 03:37:12 +0300

On 02.09.2021 16:11, Manuel Uberti wrote:
> This a simple recipe to reproduce the problem:
> 
> - emacs -Q
> - M-x toggle-debug-on-error
> - M-x vc-delete-file
> - Select a file under a Git-versioned directory on your system (i.e., 
> not a remote one)
> 
> After hitting RET I see:
> 
> Debugger entered--Lisp error: (wrong-type-argument stringp 47)
>    find-file-name-handler(47 file-remote-p)
>    file-remote-p(47 localname)
>    file-local-name(47)
>    vc-git--literal-pathspec(47)
>    vc-git--literal-pathspecs("/home/manuel/.emacs.d/.mc-lists.el")
>    vc-git-delete-file("/home/manuel/.emacs.d/.mc-lists.el")

Thanks for the report, should be fixed now with commit 0a18899f06.