{"thread":{"id":"10300","subject":"[PATCH] Bisect: add a \"bisect replay\" test case.","startedAt":"2007-10-16T04:33:13Z","lastAt":"2007-10-16T04:33:13Z","messageCount":1,"participants":["Christian Couder"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"55941","messageId":"20071016063313.17a6e7c1.chriscool@tuxfamily.org","threadId":"10300","inReplyTo":null,"subject":"[PATCH] Bisect: add a \"bisect replay\" test case.","fromName":"Christian Couder","fromEmail":"chriscool@tuxfamily.org","sentAt":"2007-10-16T04:33:13Z","receivedAt":"2007-10-16T04:33:13Z","isPatch":true,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"Signed-off-by: Christian Couder <chriscool@tuxfamily.org>\n---\n t/t6030-bisect-porcelain.sh |    7 +++++++\n 1 files changed, 7 insertions(+), 0 deletions(-)\n\n\tThere is no bisect log/replay test case right now.\n\tLet's add one.\n\ndiff --git a/t/t6030-bisect-porcelain.sh b/t/t6030-bisect-porcelain.sh\nindex 7f41a46..49f3601 100755\n--- a/t/t6030-bisect-porcelain.sh\n+++ b/t/t6030-bisect-porcelain.sh\n@@ -167,6 +167,13 @@ test_expect_success 'bisect dunno: add line and then a new test' '\n \tgit bisect dunno &&\n \tgit bisect good > my_bisect_log.txt &&\n \tgrep \"$HASH5 is first bad commit\" my_bisect_log.txt &&\n+\tgit bisect log > log_to_replay.txt\n+\tgit bisect reset\n+'\n+\n+test_expect_success 'bisect dunno and bisect replay' '\n+\tgit bisect replay log_to_replay.txt > my_bisect_log.txt &&\n+\tgrep \"$HASH5 is first bad commit\" my_bisect_log.txt &&\n \tgit bisect reset\n '\n \n-- \n1.5.3.3.136.g591d1-dirty\n"}]}