branch: elpa/magit
commit 6db34dc77d10fc9b8c925e79b4e0e21d9f78ac5c
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
magit-cygwin-mount-points: Fix typo in previous commit
---
lisp/magit-git.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index e4b8ae0cc8..dec96fc5f7 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.