diff options
| -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 |