[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp and version control on git repositories: what happens behind t
From: |
Michael Albinus |
Subject: |
Re: Tramp and version control on git repositories: what happens behind the scene ? |
Date: |
Fri, 17 Oct 2014 15:41:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
SENESI Stéphane <address@hidden> 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.