diff options
| author | Juri Linkov | 2019-07-19 01:35:27 +0300 |
|---|---|---|
| committer | Juri Linkov | 2019-07-19 01:35:27 +0300 |
| commit | 940cbaa7928e7d5683141e9525a415e88a160aba (patch) | |
| tree | 1d8a44d9f667f14af4cc1fc271f6363452c36806 | |
| parent | 5130a95cd187bb67aea7252edb334a470bc3cf79 (diff) | |
| download | emacs-940cbaa7928e7d5683141e9525a415e88a160aba.tar.gz emacs-940cbaa7928e7d5683141e9525a415e88a160aba.zip | |
* lisp/vc/vc-git.el (vc-git-log-search): Remove shell-quote-argument.
(Bug#36644)
| -rw-r--r-- | lisp/vc/vc-git.el | 4 |
1 files changed, 1 insertions, 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." | |||
| 1075 | 1075 | ||
| 1076 | (defun vc-git-log-search (buffer pattern) | 1076 | (defun vc-git-log-search (buffer pattern) |
| 1077 | (let ((args `("log" "--no-color" "-i" | 1077 | (let ((args `("log" "--no-color" "-i" |
| 1078 | ,(format "--grep=%s" | 1078 | ,(format "--grep=%s" (or pattern ""))))) |
| 1079 | (or (and pattern (shell-quote-argument pattern)) | ||
| 1080 | ""))))) | ||
| 1081 | (when current-prefix-arg | 1079 | (when current-prefix-arg |
| 1082 | (setq args (cdr (split-string | 1080 | (setq args (cdr (split-string |
| 1083 | (read-shell-command | 1081 | (read-shell-command |