[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/projectile 0bb7b75af8 1/3: [Fix #1708] Search hidden files
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/projectile 0bb7b75af8 1/3: [Fix #1708] Search hidden files with projectile-ripgrep |
Date: |
Tue, 25 Oct 2022 04:59:17 -0400 (EDT) |
branch: elpa/projectile
commit 0bb7b75af874a19d3e7c4f00927f735707999c83
Author: Nicholas Savage <nick@nicksavage.ca>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
[Fix #1708] Search hidden files with projectile-ripgrep
The behaviour of projectile-ripgrep was inconsistent depending on
which package was being used. If the rg package was being used, hidden
files were included in the search, while if the ripgrep package was
being used, hidden files were excluded. This commit ensures that
hidden files are now consistently included, which is consistent with
the behaviour of other searches (like grep).
---
CHANGELOG.md | 1 +
projectile.el | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 272f4fc75a..0e580c6cf3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -36,6 +36,7 @@
* [#1692](https://github.com/bbatsov/projectile/issues/1692): Enable
minibuffer completions when reading shell-commands.
* Change the Grails project marker to `application.yml`.
* [#1789](https://github.com/bbatsov/projectile/pull/1789): Progress reporter
for recursive progress discovery
+* [#1708](https://github.com/bbatsov/projectile/issues/1708):
`projectile-ripgrep` now consistently searches hidden files.
## 2.5.0 (2021-08-10)
diff --git a/projectile.el b/projectile.el
index 8bcb39646e..0bde72c4e2 100644
--- a/projectile.el
+++ b/projectile.el
@@ -4168,7 +4168,7 @@ installed to work."
(projectile-acquire-root)
(if arg
args
- (cons "--fixed-strings" args))))
+ (cons "--fixed-strings --hidden" args))))
;; and then we try rg
((require 'rg nil 'noerror)
(rg-run search-term