aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-git.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2026-04-08 08:46:23 +0200
committerJonas Bernoulli <jonas@bernoul.li>2026-04-08 08:46:23 +0200
commite92f8cb09e7d79f834b70da683f2d68048001dec (patch)
tree4f7825619a7de067c171d5226acec9370cf04b20 /lisp/magit-git.el
parent9ae0e7ac4c3fb64a1bfc46329ee974f79c2b1396 (diff)
magit--git-w32-path-hack: Renamed variable
Diffstat (limited to 'lisp/magit-git.el')
-rw-r--r--lisp/magit-git.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index d66311d..06fcaef 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -103,11 +103,11 @@ this."
(ignore-error file-missing
(apply #'process-lines-ignore-status program args))))
-(defvar magit-git-w32-path-hack nil
+(defvar magit--git-w32-path-hack nil
"Alist of (EXE . (PATHENTRY)).
This specifies what additional PATH setting needs to be added to
the environment in order to run the non-wrapper git executables
-successfully.")
+successfully. Set when `magit-git-executable' is (re)initialized.")
(defcustom magit-git-executable
(or (and (eq system-type 'windows-nt)
@@ -121,7 +121,7 @@ successfully.")
exec "-c"
"alias.X=!x() { which \"$1\" | cygpath -mf -; }; x"
"X" "git")))
- (hack-entry (assoc core-exe magit-git-w32-path-hack))
+ (hack-entry (assoc core-exe magit--git-w32-path-hack))
;; Running the libexec/git-core executable
;; requires some extra PATH entries.
(path-hack
@@ -135,7 +135,7 @@ successfully.")
;; idempotent.
(if hack-entry
(setcdr hack-entry path-hack)
- (push (cons core-exe path-hack) magit-git-w32-path-hack))
+ (push (cons core-exe path-hack) magit--git-w32-path-hack))
core-exe)))
(and (eq system-type 'darwin)
(executable-find "git"))