Re: [PATCH 2/4] cat-file: introduce the --filters option
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Aug 19, 2016, 08:57 UTC
- Message-ID
- <20160819085700.GA23254@tb-raspi>
- In-Reply-To
- <f1e188907f31abef9e82bd6b0da120ab7d9bd4a7.1471524357.git.johannes.schindelin@gmx.de>
[] On Thu, Aug 18, 2016 at 02:46:17PM +0200, Johannes Schindelin wrote:
Show 29 quoted lines
> diff --git a/Documentation/git-cat-file.txt b/Documentation/git-cat-file.txt > index 071029b..7d48735 100644 > --- a/Documentation/git-cat-file.txt > +++ b/Documentation/git-cat-file.txt > @@ -9,15 +9,15 @@ git-cat-file - Provide content or type and size information for repository objec > SYNOPSIS > -------- > [verse] > -'git cat-file' (-t [--allow-unknown-type]| -s [--allow-unknown-type]| -e | -p | <type> | --textconv ) <object> > +'git cat-file' (-t [--allow-unknown-type]| -s [--allow-unknown-type]| -e | -p | <type> | --textconv | --filters ) <object> > 'git cat-file' (--batch | --batch-check) [--follow-symlinks] > > DESCRIPTION > ----------- > In its first form, the command provides the content or the type of an object in > the repository. The type is required unless `-t` or `-p` is used to find the > -object type, or `-s` is used to find the object size, or `--textconv` is used > -(which implies type "blob"). > +object type, or `-s` is used to find the object size, or `--textconv` or > +`--filters` is used (which imply type "blob"). > > In the second form, a list of objects (separated by linefeeds) is provided on > stdin, and the SHA-1, type, and size of each object is printed on stdout. > @@ -58,6 +58,12 @@ OPTIONS > order to apply the filter to the content recorded in the index at > <path>. > > +--filters:: > + Show the content as transformed by the filters configured in
Minor comment: s/transformed/converted/ ?
Does it make sense to be more specific here: The order of conversion is - ident - CRLF - smudge