summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorEli Barzilay <eli@barzilay.org>2010-03-25 02:51:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-04-06 06:02:33 (GMT)
commit1367b12ad623e28546ba40c435015d94e7fbb248 (patch)
tree87354dafe601f8b22625e4ffbfd7226d5616740a /t
parent11766ca4a89ba960271e94281463d1b44654ca3b (diff)
downloadgit-1367b12ad623e28546ba40c435015d94e7fbb248.zip
git-1367b12ad623e28546ba40c435015d94e7fbb248.tar.gz
git-1367b12ad623e28546ba40c435015d94e7fbb248.tar.bz2
Add `%B' in format strings for raw commit body in `git log' and friends
Also update the documentation text and add a test. Signed-off-by: Eli Barzilay <eli@barzilay.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t6006-rev-list-format.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/t6006-rev-list-format.sh b/t/t6006-rev-list-format.sh
index b0047d3..5d15f18 100755
--- a/t/t6006-rev-list-format.sh
+++ b/t/t6006-rev-list-format.sh
@@ -101,6 +101,15 @@ commit 131a310eb913d107dd3c09a65d1651175898735d
commit 86c75cfd708a0e5868dc876ed5b8bb66c80b4873
EOF
+test_format raw-body %B <<'EOF'
+commit 131a310eb913d107dd3c09a65d1651175898735d
+changed foo
+
+commit 86c75cfd708a0e5868dc876ed5b8bb66c80b4873
+added foo
+
+EOF
+
test_format colors %Credfoo%Cgreenbar%Cbluebaz%Cresetxyzzy <<'EOF'
commit 131a310eb913d107dd3c09a65d1651175898735d
foobarbazxyzzy