emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit f306e94431 3/4: magit-bisect-run: Use magit--wi


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit f306e94431 3/4: magit-bisect-run: Use magit--with-connection-local-variables
Date: Wed, 5 Jan 2022 23:58:09 -0500 (EST)

branch: elpa/git-commit
commit f306e94431757bdac8b395f42366189e8750031e
Author: Andrey Smirnov <andrew.smirnov@gmail.com>
Commit: Kyle Meyer <kyle@kyleam.com>

    magit-bisect-run: Use magit--with-connection-local-variables
    
    Use `magit--with-connection-local-variables' macro in order to select
    correct shell to run a bisect script if operating against a remote
    repo.
---
 lisp/magit-bisect.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/magit-bisect.el b/lisp/magit-bisect.el
index 8f9fa408ed..1b62b0a0c6 100644
--- a/lisp/magit-bisect.el
+++ b/lisp/magit-bisect.el
@@ -204,7 +204,9 @@ bisect run'."
        (magit-process-git-arguments
         (list "bisect" "start" bad good args)))
       (magit-refresh)))
-  (magit-git-bisect "run" (list shell-file-name shell-command-switch cmdline)))
+  (magit--with-connection-local-variables
+   (magit-git-bisect "run" (list shell-file-name
+                                 shell-command-switch cmdline))))
 
 (defun magit-git-bisect (subcommand &optional args no-assert)
   (unless (or no-assert (magit-bisect-in-progress-p))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]