aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-bisect.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@users.sourceforge.net>2017-02-28 20:07:34 -0500
committerNoam Postavsky <npostavs@users.sourceforge.net>2017-02-28 20:17:43 -0500
commit1093e5b41a8c665b5026ebdec22874f9220926cd (patch)
treefd6efa6edcf79163947bb649fa8c57eebe557656 /lisp/magit-bisect.el
parentbd926105ff6d371618940b7aaf91a6100ea9a325 (diff)
magit-bisect-run: Use shell to run shell commands
Close #3001.
Diffstat (limited to 'lisp/magit-bisect.el')
-rw-r--r--lisp/magit-bisect.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-bisect.el b/lisp/magit-bisect.el
index acba8ec..e32cd71 100644
--- a/lisp/magit-bisect.el
+++ b/lisp/magit-bisect.el
@@ -129,7 +129,7 @@ bisect run'."
(cons (read-shell-command "Bisect shell command: ") args)))
(when (and bad good)
(magit-bisect-start bad good))
- (magit-git-bisect "run" (list cmdline)))
+ (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))