Sam Steingold <[email protected]> writes:

Hi Sam,

> finding a remove file under git using tramp now fails:
>
> Debugger entered--Lisp error: (wrong-type-argument "listp /YYYYY/.git")
>   signal(wrong-type-argument ("listp /YYYYY/.git"))
>   tramp-error((tramp-file-name "scp" nil nil "XXXXX" nil 
> "/YYYYY/bin/create_or..." nil) wrong-type-argument "listp /YYYYY/.git")
>   tramp-signal-hook-function(wrong-type-argument (listp /YYYYY/.git))
>   tramp-sh-handle-vc-registered("/scp:XXXXX...")
>   apply(tramp-sh-handle-vc-registered "/scp:XXXXX...")
>   tramp-sh-file-name-handler(vc-registered "/scp:XXXXX...")
>   apply(tramp-sh-file-name-handler vc-registered "/scp:XXXXX...")
>   tramp-file-name-handler(vc-registered "/scp:XXXXX...")
>   vc-registered("/scp:XXXXX...")
>   vc-backend("/scp:XXXXX...")
>   vc-refresh-state()
>   run-hooks(find-file-hook)
>   after-find-file(nil t)
>   find-file-noselect-1(#<buffer fffffffffff.py> "/scp:XXXXX..." nil nil 
> "/scp:XXXXX..." (7733311 (-1 . 3)))
>   find-file-noselect("/scp:XXXXX..." nil nil nil)
>   find-file("/scp:XXXXX...")
>   dired--find-file(find-file "/scp:XXXXX...")
>   dired--find-possibly-alternative-file("/scp:XXXXX...")
>   dired-find-file()
>   funcall-interactively(dired-find-file)
>   call-interactively(dired-find-file nil nil)
>   command-execute(dired-find-file)

I cannot reproduce it locally, using recent commit
7f6c9253838baba7cdd38573179bc0d3a724e25b in Emacs master branch. Have
you tried it with "emacs -Q"?

Have you tried to clean up the cache?

Does it also happen with other remote hosts? The current one belongs to
the "ant.amazon.com" domain.

Does it help to set vc-handled-backends to nil?

Best regards, Michael.

Reply via email to