X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fpretty-formats.txt;h=8c68ce94f990b0c7f3bc909cc3dc0c4e2a37cf3b;hb=04d30ce622517faa0c6bc34ac5626586b447e350;hp=5e95df6ba34290be88b76282ec7fb09864dd8134;hpb=8028184eecf1051e4b39b308a3ad909eed1371c4;p=git.git diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index 5e95df6ba..8c68ce94f 100644 --- a/Documentation/pretty-formats.txt +++ b/Documentation/pretty-formats.txt @@ -81,9 +81,9 @@ displayed in full, regardless of whether --abbrev or true parent commits, without taking grafts nor history simplification into account. -* 'format:' +* 'format:' + -The 'format:' format allows you to specify which information +The 'format:' format allows you to specify which information you want to show. It works a little bit like printf format, with the notable exception that you get a newline with '%n' instead of '\n'. @@ -128,6 +128,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\}`