mirror of
https://github.com/git/git.git
synced 2024-09-22 11:21:15 +02:00
rev-list --objects-edge: remove duplicated edge commit output.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
c649657501
commit
eb38cc689e
@ -440,9 +440,11 @@ 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 New Issue
Block a user