pretty-formats: define "literal formatting code"

The description for a %(trailer) option already uses this term without having a definition anywhere in the document, and we are about to add another one in %(decorate) that uses it. Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Andy Koppe <andy.koppe@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Aug 20, 2023 at 19:50 UTC 014aa1d1aae2548c644959bdba766a66b6a7f5cb
1 file changed +3 -1
Documentation/pretty-formats.txt
+3 -1
@@ -122,7 +122,9 @@ The placeholders are:
122 - Placeholders that expand to a single literal character:
123 '%n':: newline
124 '%%':: a raw '%'
125 -'%x00':: print a byte from a hex code
125 +'%x00':: '%x' followed by two hexadecimal digits is replaced with a
126 + byte with the hexadecimal digits' value (we will call this
127 + "literal formatting code" in the rest of this document).
128
129 - Placeholders that affect formatting of later placeholders:
130 '%Cred':: switch color to red