Re: [PATCH] docs/pretty-formats: fix typo '% <(<N>)' -> '%<|(<N>)'
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Feb 27, 2018, 20:24 UTC
- Message-ID
- <20180227202423.GD174036@aiede.svl.corp.google.com>
- In-Reply-To
- <1519762664-16889-1-git-send-email-marten.kongstad@gmail.com>
Mårten Kongstad wrote:
Show 6 quoted lines
> Remove erroneous space between % and < in '% <(<N>)'. > > Signed-off-by: Mårten Kongstad <marten.kongstad@gmail.com> > --- > Documentation/pretty-formats.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Looks correct to me. The space was introduced in v1.8.3-rc0~22^2 (pretty: support %>> that steals trailing spaces, 2013-04-19) and appears to be a plain typo. Thanks for fixing it.
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Thanks.
Show 11 quoted lines
> --- a/Documentation/pretty-formats.txt > +++ b/Documentation/pretty-formats.txt > @@ -202,7 +202,7 @@ endif::git-rev-list[] > - '%>>(<N>)', '%>>|(<N>)': similar to '%>(<N>)', '%>|(<N>)' > respectively, except that if the next placeholder takes more spaces > than given and there are spaces on its left, use those spaces > -- '%><(<N>)', '%><|(<N>)': similar to '% <(<N>)', '%<|(<N>)' > +- '%><(<N>)', '%><|(<N>)': similar to '%<(<N>)', '%<|(<N>)' > respectively, but padding both sides (i.e. the text is centered) > - %(trailers[:options]): display the trailers of the body as interpreted > by linkgit:git-interpret-trailers[1]. The `trailers` string may be