Code

Add `%B' in format strings for raw commit body in `git log' and friends
[git.git] / Documentation / pretty-formats.txt
index 1686a54d22a746036b997d6eb8d5b85ca1d79c5d..bd760d3bd107d2f1101efbc75693e3ac5e81139b 100644 (file)
@@ -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\}`