Skip to content

Commit

Permalink
Merge fix bits from jc/rev-list
Browse files Browse the repository at this point in the history
  • Loading branch information
Junio C Hamano committed Feb 24, 2006
2 parents 5ca5396 + eb38cc6 commit 4b953cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rev-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
}

Expand Down

0 comments on commit 4b953cd

Please sign in to comment.