summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-09-24 21:31:24 -0400
committerAndrew Gallant <jamslam@gmail.com>2016-09-24 21:31:24 -0400
commit8eeb0c0b60da59828a48d995e969bdba5816ea31 (patch)
tree9cf355a5fe11aa8bc7d029660d9f022b4753890f /doc
parent423f2a1927d770c5fc2d5cb4980ac66e9c149ea5 (diff)
Add --no-ignore-vcs flag.
This flag will respect .ignore but not .gitignore. Closes #68.
Diffstat (limited to 'doc')
-rw-r--r--doc/rg.16
-rw-r--r--doc/rg.1.md4
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/rg.1 b/doc/rg.1
index df38ba7b..87c563b1 100644
--- a/doc/rg.1
+++ b/doc/rg.1
@@ -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
diff --git a/doc/rg.1.md b/doc/rg.1.md
index 5e02150f..f87c25c0 100644
--- a/doc/rg.1.md
+++ b/doc/rg.1.md
@@ -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.