SENESI Stéphane <[email protected]> writes:

> Dear all,

Hi Stéphane,

> When using tramp on a remote host, I experiment a long response time
> (~ 40 s) when loading a file for editing when this happens in a
> git-version-controled directory with numerous and large files
> (including large binary files). The tramp debug buffer shows that this
> is due to the exection time of this command :
> git diff-index -p --raw -z HEAD -- README </dev/null 2>/dev/null; echo
> tramp_exit_status $?
> which is actually slow on this host . (README is the name of the file
> I want to edit)

It's vc-git.el which is responsible for this command. No idea what it is
good for.

If you don't intend to use vc-git at all, you might remove 'Git from
vc-handled-backends. Removing other unused symbols will speed up Tramp
further.

> Thanks to tell me where I could dig for further info.

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to