]> git.ipfire.org Git - thirdparty/git.git/commit
doc: pretty-formats: separate parameters from placeholders
authorPhilip Oakley <philipoakley@iee.email>
Thu, 19 Jan 2023 18:18:23 +0000 (18:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Jan 2023 22:35:15 +0000 (14:35 -0800)
commitd664a7ad20f9cb013f4c53654b76973612a89991
tree73452981fef00ce2aa43a841949813cb18d7f523
parent262c45b6a17d971cd440c6cd2fdeff1e0d081e47
doc: pretty-formats: separate parameters from placeholders

Commit a57523428b4 (pretty: support padding placeholders, %< %> and %><,
2013-04-19) introduced columnated place holders. These placeholders
can be confusing as they contain `<` and `>` characters as part
of their placeholders adjacent to the `<N>` parameters.

Add spaces either side of the `<N>` parameters in the title line.
The code (strtol) will consume any spaces around the number values
(assuming they are passed as a quoted string with spaces).
Note that the spaces are optional.

Subsequent commits will clarify other confusions.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt