branch: elpa/git-commit commit 456735401b6524f822fecc3fbb49a5c9199f9d4d Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-git-executable: Trim outdated comment --- lisp/magit-git.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lisp/magit-git.el b/lisp/magit-git.el index 68f9ff1..379c5b2 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -133,12 +133,9 @@ the environment in order to run the non-wrapper git executables successfully.") (defcustom magit-git-executable - ;; Git might be installed in a different location on a remote, so - ;; it is better not to use the full path to the executable, except - ;; on Window where we would otherwise end up using one of the - ;; wrappers "cmd/git.exe" or "cmd/git.cmd", which are much slower - ;; than using "bin/git.exe" directly. (or (and (eq system-type 'windows-nt) + ;; Avoid the wrappers "cmd/git.exe" and "cmd/git.cmd", + ;; which are much slower than using "bin/git.exe" directly. (--when-let (executable-find "git") (ignore-errors ;; Git for Windows 2.x provides cygpath so we can