Skip to content

Commit

Permalink
counsel.el (counsel-git-grep-cmd-default): Use '%s' quoting
Browse files Browse the repository at this point in the history
Fixes #876
  • Loading branch information
abo-abo committed Feb 8, 2017
1 parent 7c73f71 commit 6e6738c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion counsel.el
Expand Up @@ -937,7 +937,7 @@ Describe the selected candidate."
(ivy-set-occur 'counsel-git-grep 'counsel-git-grep-occur)
(ivy-set-display-transformer 'counsel-git-grep 'counsel-git-grep-transformer)

(defvar counsel-git-grep-cmd-default "git --no-pager grep --full-name -n --no-color -i -e %S"
(defvar counsel-git-grep-cmd-default "git --no-pager grep --full-name -n --no-color -i -e '%s'"
"Initial command for `counsel-git-grep'.")

(defvar counsel-git-grep-cmd nil
Expand Down

0 comments on commit 6e6738c

Please sign in to comment.