From: Dennis Kaarsemaker Date: Mon, 16 Nov 2015 14:13:04 GMT Subject: Re: [PATCH] check-ignore: correct documentation about output Message-ID: <1447683184.2733.0.camel@kaarsemaker.net> In-Reply-To: <20151108201036.GA28434@spirit> Ping. On zo, 2015-11-08 at 21:10 +0100, Dennis Kaarsemaker wrote: > By default git check-ignore shows only the filenames that will be > ignored, not the pattern that causes their exclusion. > > Signed-off-by: Dennis Kaarsemaker > --- > Documentation/git-check-ignore.txt | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/Documentation/git-check-ignore.txt b/Documentation/git > -check-ignore.txt > index 59531ab..0a628ac 100644 > --- a/Documentation/git-check-ignore.txt > +++ b/Documentation/git-check-ignore.txt > @@ -16,10 +16,9 @@ DESCRIPTION > ----------- > > For each pathname given via the command-line or from a file via > -`--stdin`, show the pattern from .gitignore (or other input files to > -the exclude mechanism) that decides if the pathname is excluded or > -included. Later patterns within a file take precedence over earlier > -ones. > +`--stdin`, check whether the file is excluded by .gitignore (or > other > +input files to the exclude mechanism) and output the path if it is > +excluded. > > By default, tracked files are not shown at all since they are not > subject to exclude rules; but see `--no-index'. > -- > 2.6.3-495-gf0a7f49 > > -- Dennis Kaarsemaker http://www.kaarsemaker.net