git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Mårten KongstadNext: Duy Nguyen
Message 2 of 3 in “docs/pretty-formats: fix typo '% <(<N>)' -> '%<|(<N>)'”
  1. docs/pretty-formats: fix typo '% <(<N>)' -> '%<|(<N>)'Mårten Kongstad, Feb 27, 2018
  2. Jonathan NiederFeb 27, 2018
  3. Duy NguyenFeb 28, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.