branch: elpa/git-commit commit ce7929576ce9fad72f5d554c625e39829f9b5066 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-remote-git-executable: Mention tramp-remote-path --- Documentation/magit.org | 7 ++++--- Documentation/magit.texi | 7 ++++--- lisp/magit-git.el | 4 +++- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Documentation/magit.org b/Documentation/magit.org index 9577830..b2667cd 100644 --- a/Documentation/magit.org +++ b/Documentation/magit.org @@ -8,7 +8,7 @@ #+TEXINFO_DIR_CATEGORY: Emacs #+TEXINFO_DIR_TITLE: Magit: (magit). #+TEXINFO_DIR_DESC: Using Git from Emacs with Magit. -#+SUBTITLE: for version 3.2.1 (v3.2.1-13-g0348f1f87+1) +#+SUBTITLE: for version 3.2.1 (v3.2.1-24-gb8e64dcb9+1) #+TEXINFO_DEFFN: t #+OPTIONS: H:4 num:3 toc:2 @@ -25,7 +25,7 @@ directly from within Emacs. While many fine Git clients exist, only Magit and Git itself deserve to be called porcelains. #+TEXINFO: @noindent -This manual is for Magit version 3.2.1 (v3.2.1-13-g0348f1f87+1). +This manual is for Magit version 3.2.1 (v3.2.1-24-gb8e64dcb9+1). #+BEGIN_QUOTE Copyright (C) 2015-2021 Jonas Bernoulli <jo...@bernoul.li> @@ -1932,7 +1932,8 @@ or path that is used on remote machines. - User Option: magit-remote-git-executable The ~git~ executable used by Magit on remote machines over Tramp. - Normally this should be just the string "git". + Normally this should be just the string "git". Consider customizing + ~tramp-remote-path~ instead of this option. If Emacs is unable to find the correct executable, then you can work around that by explicitly setting the value of one of these two diff --git a/Documentation/magit.texi b/Documentation/magit.texi index 049db74..903bd7c 100644 --- a/Documentation/magit.texi +++ b/Documentation/magit.texi @@ -31,7 +31,7 @@ General Public License for more details. @finalout @titlepage @title Magit User Manual -@subtitle for version 3.2.1 (v3.2.1-13-g0348f1f87+1) +@subtitle for version 3.2.1 (v3.2.1-24-gb8e64dcb9+1) @author Jonas Bernoulli @page @vskip 0pt plus 1filll @@ -53,7 +53,7 @@ directly from within Emacs. While many fine Git clients exist, only Magit and Git itself deserve to be called porcelains. @noindent -This manual is for Magit version 3.2.1 (v3.2.1-13-g0348f1f87+1). +This manual is for Magit version 3.2.1 (v3.2.1-24-gb8e64dcb9+1). @quotation Copyright (C) 2015-2021 Jonas Bernoulli <jonas@@bernoul.li> @@ -2626,7 +2626,8 @@ for doing such things. @defopt magit-remote-git-executable The @code{git} executable used by Magit on remote machines over Tramp. -Normally this should be just the string "git". +Normally this should be just the string "git". Consider customizing +@code{tramp-remote-path} instead of this option. @end defopt If Emacs is unable to find the correct executable, then you can diff --git a/lisp/magit-git.el b/lisp/magit-git.el index 379c5b2..eb6ff39 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -173,7 +173,9 @@ On remote machines `magit-remote-git-executable' is used instead." (defcustom magit-remote-git-executable "git" "The Git executable used by Magit on remote machines. -On the local host `magit-git-executable' is used instead." +On the local host `magit-git-executable' is used instead. +Consider customizing `tramp-remote-path' instead of this +option." :package-version '(magit . "3.2.0") :group 'magit-process :type 'string)