projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5130a95
)
* lisp/vc/vc-git.el (vc-git-log-search): Remove shell-quote-argument.
author
Juri Linkov
<juri@linkov.net>
Thu, 18 Jul 2019 22:35:27 +0000
(
01:35
+0300)
committer
Juri Linkov
<juri@linkov.net>
Thu, 18 Jul 2019 22:35:27 +0000
(
01:35
+0300)
(Bug#36644)
lisp/vc/vc-git.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-git.el
b/lisp/vc/vc-git.el
index 5b61a7b4bc225cd2bcaa871bf6618e3c74cf79e5..d4833d86ac462866df2c4b3644ec86e3524e99e8 100644
(file)
--- 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