mirror of
https://github.com/git/git.git
synced 2024-11-05 08:47:56 +01:00
Merge fix bits from jc/rev-list
This commit is contained in:
commit
4b953cdc04
1 changed files with 3 additions and 1 deletions
|
@ -440,10 +440,12 @@ 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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void mark_edges_uninteresting(struct commit_list *list)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue