summaryrefslogtreecommitdiff
path: root/builtin-rev-list.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2009-02-08 14:54:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-08 20:48:28 (GMT)
commit6e46cc0d9294d5f4ad0c9a6ffd2d9ca82bce8458 (patch)
tree981324e156541d9d998863610ea412379c025608 /builtin-rev-list.c
parentb59122f86f23007fce374f92de7f6e0a73793026 (diff)
downloadgit-6e46cc0d9294d5f4ad0c9a6ffd2d9ca82bce8458.zip
git-6e46cc0d9294d5f4ad0c9a6ffd2d9ca82bce8458.tar.gz
git-6e46cc0d9294d5f4ad0c9a6ffd2d9ca82bce8458.tar.bz2
rev-list: fix showing distance when using --bisect-all
Before d467a52 ("Make '--decorate' set an explicit 'show_decorations' flag", Nov 3 2008), commit decorations were shown whenever they exist, and distances stored in them by "git rev-list --bisect-all" were automatically shown. d467a52 changed the rule so that commit decorations are not shown unless rev_info explicitly asks to, with its show_decorations bit, but forgot that the ones "git rev-list --bisect-all" adds need to be shown. This patch fixes this old breakage. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-rev-list.c')
-rw-r--r--builtin-rev-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index 857742a..436afa4 100644
--- a/builtin-rev-list.c
+++ b/builtin-rev-list.c
@@ -608,6 +608,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
if (!strcmp(arg, "--bisect-all")) {
bisect_list = 1;
bisect_find_all = 1;
+ revs.show_decorations = 1;
continue;
}
if (!strcmp(arg, "--bisect-vars")) {