commit c363871beda50b641e312c43813fd8962e2cd723 from: Stefan Sperling date: Sun Jun 10 21:47:40 2018 UTC commit graph: don't omit commits with equal timestamps commit - 372ccdbba46bce53f86c77e0cf75160209887e07 commit + c363871beda50b641e312c43813fd8962e2cd723 blob - 609fa344a5f10e9e2ff1592f01a360ff4bfd8657 blob + 7c351cca7e27d1cc2b09bfce8cd7eb247a9372c8 --- lib/commit_graph.c +++ 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;