summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Eli Barzilay <eli@barzilay.org>2010-03-24 22:51:52 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-04-05 23:02:33 -0700
commit1367b12ad623e28546ba40c435015d94e7fbb248 (patch)
tree87354dafe601f8b22625e4ffbfd7226d5616740a /t
parentMerge branch 'maint' (diff)
downloadtgif-1367b12ad623e28546ba40c435015d94e7fbb248.tar.xz
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 b0047d3c6b..5d15f18366 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