Merge fix bits from jc/rev-list

This commit is contained in:
Junio C Hamano 2006-02-24 01:33:57 -08:00
commit 4b953cdc04

View File

@ -440,9 +440,11 @@ static void mark_edge_parents_uninteresting(struct commit *commit)
if (!(parent->object.flags & UNINTERESTING)) if (!(parent->object.flags & UNINTERESTING))
continue; continue;
mark_tree_uninteresting(parent->tree); 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)); printf("-%s\n", sha1_to_hex(parent->object.sha1));
} }
}
} }
static void mark_edges_uninteresting(struct commit_list *list) static void mark_edges_uninteresting(struct commit_list *list)