Add better documentation of vcs-ignore files.

Explicitly list which files are used for gitignore.

Fixes #354
This commit is contained in:
Thayne McCombs 2021-08-10 01:09:18 -06:00 committed by David Peter
parent 334488cab7
commit 1b52948e42
1 changed files with 10 additions and 4 deletions

14
doc/fd.1 vendored
View File

@ -32,7 +32,7 @@ Include hidden files and directories in the search results
.TP
.B \-I, \-\-no\-ignore
Show search results from files and directories that would otherwise be ignored by
.IR .gitignore ,
any of the files ignored by the '\-\-no\-ignore\-vcs' option,
.IR .ignore ,
.IR .fdignore ,
or the global ignore file.
@ -41,9 +41,15 @@ or the global ignore file.
Alias for '--no-ignore'. Can be repeated; '-uu' is an alias for '--no-ignore --hidden'.
.TP
.B \-\-no\-ignore\-vcs
Show search results from files and directories that would otherwise be ignored by
.I .gitignore
files.
Show search results from files and directories that would otherwise be ignored by gitignore files
including
.IR .gitignore ,
.IR .git/info/exclude ,
and the global gitignore configuration (
.I core.excludesFile
git setting, which defaults to
.I $HOME/.config/git/ignore
).
.TP
.B \-s, \-\-case\-sensitive
Perform a case-sensitive search. By default, fd uses case-insensitive searches, unless the