commit graph: don't omit commits with equal timestamps
diff --git a/lib/commit_graph.c b/lib/commit_graph.c
index 609fa34..7c351cc 100644
--- a/lib/commit_graph.c
+++ b/lib/commit_graph.c
@@ -212,7 +212,7 @@ add_iteration_candidate(struct got_commit_graph *graph,
err = compare_commits(&cmp, node->commit, n->commit);
if (err)
return err;
- if (cmp <= 0)
+ if (cmp < 0)
continue;
TAILQ_INSERT_BEFORE(n, node, entry);
break;