File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,9 @@ DESCRIPTION
1616-----------
1717
1818For each pathname given via the command-line or from a file via
19- `--stdin`, show the pattern from .gitignore (or other input files to
20- the exclude mechanism) that decides if the pathname is excluded or
21- included. Later patterns within a file take precedence over earlier
22- ones.
19+ `--stdin`, check whether the file is excluded by .gitignore (or other
20+ input files to the exclude mechanism) and output the path if it is
21+ excluded.
2322
2423By default, tracked files are not shown at all since they are not
2524subject to exclude rules; but see `--no-index'.
@@ -32,7 +31,8 @@ OPTIONS
3231
3332-v, --verbose::
3433 Also output details about the matching pattern (if any)
35- for each given pathname.
34+ for each given pathname. For precedence rules within and
35+ between exclude sources, see linkgit:gitignore[5].
3636
3737--stdin::
3838 Read pathnames from the standard input, one per line,
You can’t perform that action at this time.
0 commit comments