branch: master
commit ff077c66e09891bd071b1ca342f39054b33d7f1c
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    counsel.el (counsel--gg-candidates): Use counsel-git-grep-cmd
---
 counsel.el |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index 432d141..87d0eb7 100644
--- a/counsel.el
+++ b/counsel.el
@@ -689,8 +689,9 @@ The libraries are offered from `load-path'."
     (setq proc (start-process-shell-command
                 counsel-gg-process
                 counsel-gg-process
-                (format "git --no-pager grep --full-name -n --no-color -i -e 
%S | head -n 200"
-                        regex)))
+                (concat
+                 (format counsel-git-grep-cmd regex)
+                 " | head -n 200")))
     (set-process-sentinel
      proc
      #'counsel--gg-sentinel)))

Reply via email to