mirror of
https://github.com/git/git.git
synced 2024-09-28 19:42:15 +02:00
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>
This commit is contained in:
parent
fac96dfbb1
commit
014aa1d1aa
@ -122,7 +122,9 @@ The placeholders are:
|
||||
- Placeholders that expand to a single literal character:
|
||||
'%n':: newline
|
||||
'%%':: a raw '%'
|
||||
'%x00':: print a byte from a hex code
|
||||
'%x00':: '%x' followed by two hexadecimal digits is replaced with a
|
||||
byte with the hexadecimal digits' value (we will call this
|
||||
"literal formatting code" in the rest of this document).
|
||||
|
||||
- Placeholders that affect formatting of later placeholders:
|
||||
'%Cred':: switch color to red
|
||||
|
Loading…
Reference in New Issue
Block a user