aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-git.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2026-04-02 00:51:13 +0200
committerJonas Bernoulli <jonas@bernoul.li>2026-04-02 00:51:13 +0200
commit6db34dc77d10fc9b8c925e79b4e0e21d9f78ac5c (patch)
tree8906d2f41b1d1c6737b4a6b5803c56b27f207401 /lisp/magit-git.el
parent71535990381f0b12d5dc1dae0f265ce42336c4ad (diff)
magit-cygwin-mount-points: Fix typo in previous commit
Diffstat (limited to 'lisp/magit-git.el')
-rw-r--r--lisp/magit-git.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index e4b8ae0..dec96fc 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -1277,7 +1277,7 @@ or if no rename is detected."
;; then we probably have a cygwin git.
(and-let ((dirs (magit--early-process-lines
magit-git-executable "--exec-path")))
- (and (not (string-match-p "\\`[a-zA-Z]:" (car dir)))
+ (and (not (string-match-p "\\`[a-zA-Z]:" (car dirs)))
(magit--early-process-lines "mount"))))
#'> :key (pcase-lambda (`(,cyg . ,_win)) (length cyg))))
"Alist of (CYGWIN . WIN32) directory names.