summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-05-08 22:36:40 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-05-08 22:36:40 -0700
commit67e5c87cd60668c97712b14af8562b558239a757 (patch)
tree508a43b693a187a2c0f6e7513193a23c4d7c24c5 /Documentation
parentMerge branch 'ab/commit-empty-message' (diff)
parentAdd `%B' in format strings for raw commit body in `git log' and friends (diff)
downloadtgif-67e5c87cd60668c97712b14af8562b558239a757.tar.xz
Merge branch 'eb/unpretty-b-format'
* eb/unpretty-b-format: Add `%B' in format strings for raw commit body in `git log' and friends
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/pretty-formats.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
index 1686a54d22..bd760d3bd1 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\}`