Browse Source

Merge fix bits from jc/rev-list

maint
Junio C Hamano 19 years ago
parent
commit
4b953cdc04
  1. 4
      rev-list.c

4
rev-list.c

@ -440,8 +440,10 @@ static void mark_edge_parents_uninteresting(struct commit *commit) @@ -440,8 +440,10 @@ static void mark_edge_parents_uninteresting(struct commit *commit)
if (!(parent->object.flags & UNINTERESTING))
continue;
mark_tree_uninteresting(parent->tree);
if (edge_hint)
if (edge_hint && !(parent->object.flags & SHOWN)) {
parent->object.flags |= SHOWN;
printf("-%s\n", sha1_to_hex(parent->object.sha1));
}
}
}


Loading…
Cancel
Save