forked from BurntSushi/ripgrep
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect gitignores for both
.git
and .sl
directories
Summary: rg only respects gitignores for directories containing or with a parent containing a `.git` directory. [Sapling](https://sapling-scm.com/docs/introduction/) is a VCS tool that works with git repositories (and is what I'm using to make this commit), but uses `.sl` instead of `.git`. This commit respect gitignores for both `.git` and `.sl` directories Test Plan: `tests/misc.rs`
- Loading branch information
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters