]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/vc-git.el (vc-git-log-search): Remove shell-quote-argument.
authorJuri Linkov <juri@linkov.net>
Thu, 18 Jul 2019 22:35:27 +0000 (01:35 +0300)
committerJuri Linkov <juri@linkov.net>
Thu, 18 Jul 2019 22:35:27 +0000 (01:35 +0300)
(Bug#36644)

lisp/vc/vc-git.el

index 5b61a7b4bc225cd2bcaa871bf6618e3c74cf79e5..d4833d86ac462866df2c4b3644ec86e3524e99e8 100644 (file)
@@ -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