diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-05-08 22:36:40 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-08 22:36:40 -0700 |
commit | 67e5c87cd60668c97712b14af8562b558239a757 (patch) | |
tree | 508a43b693a187a2c0f6e7513193a23c4d7c24c5 /t/t6006-rev-list-format.sh | |
parent | ea28baed79981e065a5a6d39323c4fb7d2b51685 (diff) | |
parent | 1367b12ad623e28546ba40c435015d94e7fbb248 (diff) | |
download | git-67e5c87cd60668c97712b14af8562b558239a757.tar.gz |
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 't/t6006-rev-list-format.sh')
-rwxr-xr-x | t/t6006-rev-list-format.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/t6006-rev-list-format.sh b/t/t6006-rev-list-format.sh index a49b7c5722..9992be69f4 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 [31mfoo[32mbar[34mbaz[mxyzzy |