Hi,

The const variables tramp-repository-version/tramp-repository-branch will
be initialized with simply (request 'tramp), it chains request "trampver.el".

These two variables it initialized with invoking the `git' program. When
someone (request 'tramp) -> (request 'trampvar), it will cause the 'git'
be invoked twice.

For most of scenario, people don't use these two variables (except
report a tramp bug), always invoking the "git" on initialization is a
wast on performance.

And, it also will trigger an error message when "git" not in the PATH:
> Error running git rev-parse --abbrev-ref: (file-missing "Searching for
> program" "no such file or directory" "git")

No git invoking on the tramp-repository-version/tramp-repository-branch
initializing will help on performance and avoid the error message.

Please help fix this issue. Thanks

Reply via email to