1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-11-29 05:57:07 +02:00

Add --no-ignore-vcs flag.

This flag will respect .ignore but not .gitignore.

Closes #68.
This commit is contained in:
Andrew Gallant
2016-09-24 21:31:24 -04:00
parent 423f2a1927
commit 8eeb0c0b60
5 changed files with 58 additions and 6 deletions

View File

@@ -227,6 +227,12 @@ Don\[aq]t respect ignore files in parent directories.
.RS
.RE
.TP
.B \-\-no\-ignore\-vcs
Don\[aq]t respect version control ignore files (e.g., .gitignore).
Note that .ignore files will continue to be respected.
.RS
.RE
.TP
.B \-p, \-\-pretty
Alias for \-\-color=always \-\-heading \-n.
.RS

View File

@@ -147,6 +147,10 @@ the raw speed of grep.
--no-ignore-parent
: Don't respect ignore files in parent directories.
--no-ignore-vcs
: Don't respect version control ignore files (e.g., .gitignore).
Note that .ignore files will continue to be respected.
-p, --pretty
: Alias for --color=always --heading -n.