Fix #4180: omit .git from file searches

This commit is contained in:
Henrik Lissner 2020-11-16 20:00:07 -05:00
parent 427d38008b
commit 51744ce294
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ workspace."
(helm-rg-default-extra-args
(delq nil (append (list (when all-files "-z -uu")
(unless recursive "--maxdepth 1")
"--hidden")
"--hidden" "-g" "!.git")
args))))
(setq deactivate-mark t)
(helm-rg (or query