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.
This commit is contained in:
parent
bf7bc1a0c5
commit
da70669be0
1 changed files with 2 additions and 2 deletions
4
magit.el
4
magit.el
|
@ -1522,9 +1522,9 @@ FUNC should leave point at the end of the modified region"
|
||||||
(string= "=" (substring option (- (length option) 1))))
|
(string= "=" (substring option (- (length option) 1))))
|
||||||
(setq option (concat option value))
|
(setq option (concat option value))
|
||||||
(setq value nil))
|
(setq value nil))
|
||||||
(setq result (append result (list (shell-quote-argument option))))
|
(setq result (append result (list option)))
|
||||||
(when (stringp value)
|
(when (stringp value)
|
||||||
(setq result (append result (list (shell-quote-argument value))))))))
|
(setq result (append result (list value)))))))
|
||||||
result))
|
result))
|
||||||
|
|
||||||
;;; Mode
|
;;; Mode
|
||||||
|
|
Loading…
Add table
Reference in a new issue