{"thread":{"id":"17654","subject":"[PATCH] rev-list: fix showing distance when using --bisect-all","startedAt":"2009-02-08T14:54:47Z","lastAt":"2009-02-08T14:54:47Z","messageCount":1,"participants":["Christian Couder"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"103754","messageId":"20090208155447.a56eeb26.chriscool@tuxfamily.org","threadId":"17654","inReplyTo":null,"subject":"[PATCH] rev-list: fix showing distance when using --bisect-all","fromName":"Christian Couder","fromEmail":"chriscool@tuxfamily.org","sentAt":"2009-02-08T14:54:47Z","receivedAt":"2009-02-08T14:54:47Z","isPatch":true,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"Since commit d467a52 (\"Make '--decorate' set an explicit 'show_decorations'\nflag\", Nov 3 2008), \"git rev-list --bisect-all\" doesn't show the distance\nany more when displaying the best bisection commits.\n\nFor example:\n\n$ git rev-list --bisect-all HEAD --not HEAD^\n\ngives:\n\n621f1b4bcf40f1469fc59202248df35619e33c82\n\ninstead of:\n\n621f1b4bcf40f1469fc59202248df35619e33c82 (dist=0)\n\nThis patch fixes that.\n\nSigned-off-by: Christian Couder <chriscool@tuxfamily.org>\n---\n builtin-rev-list.c |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/builtin-rev-list.c b/builtin-rev-list.c\nindex 857742a..436afa4 100644\n--- a/builtin-rev-list.c\n+++ b/builtin-rev-list.c\n@@ -608,6 +608,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)\n \t\tif (!strcmp(arg, \"--bisect-all\")) {\n \t\t\tbisect_list = 1;\n \t\t\tbisect_find_all = 1;\n+\t\t\trevs.show_decorations = 1;\n \t\t\tcontinue;\n \t\t}\n \t\tif (!strcmp(arg, \"--bisect-vars\")) {\n-- \n1.6.2.rc0.dirty\n"}]}