branch: master
commit dea785830210b821c2a9293c28c5ff91771ada7d
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    counsel.el (counsel-git-grep-count): Ignore case
---
 counsel.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/counsel.el b/counsel.el
index 7ad7787..e00bc59 100644
--- a/counsel.el
+++ b/counsel.el
@@ -184,7 +184,7 @@
 (defun counsel-git-grep-count (str)
   "Quickly count the amount of git grep STR matches."
   (let ((out (shell-command-to-string
-              (format "git grep -c '%s' | sed 's/.*:\\(.*\\)/\\1/g' | awk 
'{s+=$1} END {print s}'"
+              (format "git grep -i -c '%s' | sed 's/.*:\\(.*\\)/\\1/g' | awk 
'{s+=$1} END {print s}'"
                       (ivy--regex str)))))
     (string-to-number out)))
 

Reply via email to