diff options
| author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2021-12-29 16:20:44 -0800 |
|---|---|---|
| committer | Kyle Meyer <kyle@kyleam.com> | 2022-01-05 23:42:50 -0500 |
| commit | f306e94431757bdac8b395f42366189e8750031e (patch) | |
| tree | b8be4955859b218388de3c5246f3142c3607ce98 /lisp/magit-bisect.el | |
| parent | 781aa35c7cf3933fc7d8d8d91f5967e8d2df1756 (diff) | |
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.
Diffstat (limited to 'lisp/magit-bisect.el')
| -rw-r--r-- | lisp/magit-bisect.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/magit-bisect.el b/lisp/magit-bisect.el index 8f9fa40..1b62b0a 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)) |
