X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fpretty-formats.txt;h=bd760d3bd107d2f1101efbc75693e3ac5e81139b;hb=1367b12ad623e28546ba40c435015d94e7fbb248;hp=53a9168ba7d8959e65c2442f6a078155d6f24c71;hpb=3325cea0f7ef7355f6806b2fc88acdb2e27785ac;p=git.git diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index 53a9168ba..bd760d3bd 100644 --- a/Documentation/pretty-formats.txt +++ b/Documentation/pretty-formats.txt @@ -123,6 +123,7 @@ The placeholders are: - '%s': subject - '%f': sanitized subject line, suitable for a filename - '%b': body +- '%B': raw body (unwrapped subject and body) - '%N': commit notes - '%gD': reflog selector, e.g., `refs/stash@\{1\}` - '%gd': shortened reflog selector, e.g., `stash@\{1\}` @@ -134,6 +135,7 @@ The placeholders are: - '%C(...)': color specification, as described in color.branch.* config option - '%m': left, right or boundary mark - '%n': newline +- '%%': a raw '%' - '%x00': print a byte from a hex code - '%w([[,[,]]])': switch line wrapping, like the -w option of linkgit:git-shortlog[1].