From 940cbaa7928e7d5683141e9525a415e88a160aba Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Fri, 19 Jul 2019 01:35:27 +0300 Subject: [PATCH] * lisp/vc/vc-git.el (vc-git-log-search): Remove shell-quote-argument. (Bug#36644) --- lisp/vc/vc-git.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.39.2