aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2021-08-09 11:18:18 +0200
committerJonas Bernoulli <jonas@bernoul.li>2021-08-09 11:18:18 +0200
commit456735401b6524f822fecc3fbb49a5c9199f9d4d (patch)
tree03d1867d1f8ce4014300635145d25a89853cbddc
parent5d997f2fd2f94bbcb508b8a7d4e9169c51cc7503 (diff)
magit-git-executable: Trim outdated comment
-rw-r--r--lisp/magit-git.el7
1 files 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