[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp and version control on git repositories: what happens behind t
Re: Tramp and version control on git repositories: what happens behind the scene ?
Fri, 17 Oct 2014 15:41:22 +0200
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
SENESI Stéphane <address@hidden> writes:
> Dear all,
> 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
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
> Thanks to tell me where I could dig for further info.
Best regards, Michael.