branch: elpa/magit
commit deb8ff710389382fcb73d2552587f04f4b92beed
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit-credential-cache-daemon-socket: Cosmetics
---
 lisp/magit-process.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/magit-process.el b/lisp/magit-process.el
index 8178519a03..2a4083ed1e 100644
--- a/lisp/magit-process.el
+++ b/lisp/magit-process.el
@@ -117,9 +117,7 @@ displays the text of `magit-process-error-summary' instead."
                 (and prog
                      (string-match-p
                       "\\`\\(?:\\(?:/.*/\\)?git-credential-\\)?cache\\'" prog)
-                     (or (cl-loop for (opt val) on args
-                                  if (string= opt "--socket")
-                                  return val)
+                     (or (cadr (member "--socket" args))
                          (expand-file-name 
"~/.git-credential-cache/socket")))))
             ;; Note: `magit-process-file' is not yet defined when
             ;; evaluating this form, so we use `process-lines'.

Reply via email to