From da70669be08af584672184dcbb959ae674018675 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Tue, 18 May 2010 18:28:48 +0200 Subject: [PATCH] Do not use use shell-quote-argument for options picked on the menu This upsets msys-git and it is not needed anymore because git is not invoked through the shell. --- magit.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/magit.el b/magit.el index adbbeec6..52b562d8 100644 --- a/magit.el +++ b/magit.el @@ -1522,9 +1522,9 @@ FUNC should leave point at the end of the modified region" (string= "=" (substring option (- (length option) 1)))) (setq option (concat option value)) (setq value nil)) - (setq result (append result (list (shell-quote-argument option)))) + (setq result (append result (list option))) (when (stringp value) - (setq result (append result (list (shell-quote-argument value)))))))) + (setq result (append result (list value))))))) result)) ;;; Mode