]> git.eshelyaron.com Git - emacs.git/commit
Detect Git version on remote hosts separately from the local one
authorDmitry Gutov <dmitry@gutov.dev>
Mon, 7 Oct 2024 23:42:39 +0000 (02:42 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 14 Oct 2024 17:34:51 +0000 (19:34 +0200)
commit92551202a2e6043dd1e56dcbfd89f6415c6ef951
treeb600f8fa41f702b6ff542e6dca13d46e843831b5
parent2aa53d9299f0f3ca72b182d21b3d42bc2edc7980
Detect Git version on remote hosts separately from the local one

* lisp/vc/vc-git.el (vc-git--program-version): Detect Git version
on remote hosts separately from the local one (buf#73320).
(vc-git-connection-default-profile): Set up collection-local
profile.  And use it for the 'vc-git' :application.
(vc-git--program-version): Operate on the connection-local value
of 'vc-git--program-version'.

(cherry picked from commit 7cd8108098c08de47078db4e17291e5a529e0ae0)
lisp/vc/vc-git.el