summaryrefslogtreecommitdiff
path: root/helm-grep.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2018-07-19 21:01:54 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2018-07-19 21:06:24 +0200
commit345842e1a36b8dfa23eb516e8a8cb64783505f6b (patch)
tree8c891f624cc956b96c4536f752aad45f99db317d /helm-grep.el
parent9fdbd606b782646f9df6218e49804ff5ec2bbe6f (diff)
Change default value of *-grep-git-grep-command (#2066)
* helm-grep.el (helm-grep-git-grep-command): Don't use by default "--exclude-standard" and "--no-index".
Diffstat (limited to 'helm-grep.el')
-rw-r--r--helm-grep.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/helm-grep.el b/helm-grep.el
index 512251a0..f89c4bfa 100644
--- a/helm-grep.el
+++ b/helm-grep.el
@@ -1573,7 +1573,7 @@ When WITH-TYPES is non-nil provide completion on AG types."
(defvar helm-source-grep-git nil)
(defcustom helm-grep-git-grep-command
- "git --no-pager grep -n%cH --color=always --exclude-standard --no-index --full-name -e %p -- %f"
+ "git --no-pager grep -n%cH --color=always --full-name -e %p -- %f"
"The git grep default command line.
The option \"--color=always\" can be used safely.
The color of matched items can be customized in your .gitconfig
@@ -1581,7 +1581,8 @@ See `helm-grep-default-command' for more infos.
The \"--exclude-standard\" and \"--no-index\" switches allow
skipping unwanted files specified in ~/.gitignore_global
-and searching files not already staged.
+and searching files not already staged (not enabled by default).
+
You have also to enable this in global \".gitconfig\" with
\"git config --global core.excludesfile ~/.gitignore_global\"."
:group 'helm-grep