From: Juri Linkov Date: Thu, 18 Jul 2019 22:35:27 +0000 (+0300) Subject: * lisp/vc/vc-git.el (vc-git-log-search): Remove shell-quote-argument. X-Git-Tag: emacs-27.0.90~1860 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=940cbaa7928e7d5683141e9525a415e88a160aba;p=emacs.git * lisp/vc/vc-git.el (vc-git-log-search): Remove shell-quote-argument. (Bug#36644) --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 5b61a7b4bc2..d4833d86ac4 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1075,9 +1075,7 @@ If LIMIT is a revision string, use it as an end-revision." (defun vc-git-log-search (buffer pattern) (let ((args `("log" "--no-color" "-i" - ,(format "--grep=%s" - (or (and pattern (shell-quote-argument pattern)) - ""))))) + ,(format "--grep=%s" (or pattern ""))))) (when current-prefix-arg (setq args (cdr (split-string (read-shell-command