commit 9f57848c05f3609670a9890cf40c27c72fbc8e94 from: Stefan Sperling date: Sun Nov 18 23:20:14 2018 UTC remove unnecessary graph search in advance_branch() commit - 81a966c019fd0f543e5d7a3a83a8fca38b3bfed1 commit + 9f57848c05f3609670a9890cf40c27c72fbc8e94 blob - c092627b329a925b7204b6c55a8e5d0d6c89d67a blob + 642532112a140b677184b1aa43790b0ce718cd40 --- lib/commit_graph.c +++ lib/commit_graph.c @@ -257,8 +257,6 @@ advance_branch(struct got_commit_graph *graph, SIMPLEQ_FOREACH(qid, &commit->parent_ids, entry) { struct got_object_id *id; - if (got_object_idset_get(graph->node_ids, qid->id)) - continue; /* parent already traversed */ if (got_object_idset_get(graph->open_branches, qid->id)) continue;