{"thread":{"id":"15361","subject":"[PATCH 2/2] Added test for log`s new '%d' format specifier","startedAt":"2008-09-03T18:42:07Z","lastAt":"2008-09-03T18:42:07Z","messageCount":1,"participants":["Michael Dressel"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"89667","messageId":"alpine.LNX.1.10.0809032040150.32295@pollux","threadId":"15361","inReplyTo":null,"subject":"[PATCH 2/2] Added test for log`s new '%d' format specifier","fromName":"Michael Dressel","fromEmail":"michaeltilodressel@t-online.de","sentAt":"2008-09-03T18:42:07Z","receivedAt":"2008-09-03T18:42:07Z","isPatch":true,"sender":{"key":"michaeltilodressel@t-online.de","avatar":null},"body":"\n\nSigned-off-by: Michael Dressel <MichaelTiloDressel@t-online.de>\n---\n  t/t4203-log.sh |   41 +++++++++++++++++++++++++++++++++++++++++\n  1 files changed, 41 insertions(+), 0 deletions(-)\n  create mode 100755 t/t4203-log.sh\n\ndiff --git a/t/t4203-log.sh b/t/t4203-log.sh\nnew file mode 100755\nindex 0000000..ef13927\n--- /dev/null\n+++ b/t/t4203-log.sh\n@@ -0,0 +1,41 @@\n+#!/bin/sh\n+\n+test_description='git log --pretty=format:%h%d'\n+\n+. ./test-lib.sh\n+\n+test_expect_success setup '\n+\n+\techo one >one &&\n+\tgit add one &&\n+\ttest_tick &&\n+\tgit commit -m initial &&\n+\tgit tag -a V1 -m \"v1\" &&\n+\n+\techo ichi >one &&\n+\tgit add one &&\n+\ttest_tick &&\n+\tgit commit -m second &&\n+\tgit tag l2 &&\n+\n+\techo bichi >one &&\n+\tgit add one &&\n+\ttest_tick &&\n+\tgit commit -m third &&\n+\tgit tag l3 &&\n+\tgit tag -a V3 -m \"v3\"\n+\n+'\n+\n+test_expect_success 'find decoration' '\n+\n+\tgit log --pretty=\"format:%h %d\" | grep V1 &&\n+\tgit log --pretty=\"format:%h %d\" | grep V3 &&\n+\tgit log --pretty=\"format:%h %d\" | grep l2 &&\n+\tgit log --pretty=\"format:%h %d\" | grep l3\n+\n+\n+'\n+\n+test_done\n+\n-- \n1.6.0.1\n"}]}