commit - 8e29169599cbcb1a6fd1c41a62dc3ccab59c5023
commit + 14159a7b730f977bc97cb05b4cb5b0faba3815f5
blob - 68baeaeec71b77bcca931867387954a7a7ea4e85
blob + 41c7e20d4bf0945aae44b3c34367112fab286df2
--- lib/commit_graph.c
+++ lib/commit_graph.c
}
static const struct got_error *
-advance_branch(struct got_commit_graph *graph,
- struct got_commit_graph_node *node,
- struct got_object_id *commit_id, struct got_commit_object *commit,
- struct got_repository *repo)
+advance_branch(struct got_commit_graph *graph, struct got_object_id *commit_id,
+ struct got_commit_object *commit, struct got_repository *repo)
{
const struct got_error *err;
struct got_object_qid *qid;
}
if (changed)
add_node_to_iter_list(graph, new_node);
- err = advance_branch(graph, new_node, commit_id,
- commit, repo);
+ err = advance_branch(graph, commit_id, commit, repo);
if (err)
break;
}
if (changed)
add_node_to_iter_list(graph, start_node);
- err = advance_branch(graph, start_node, id, commit, repo);
+ err = advance_branch(graph, id, commit, repo);
if (err)
goto done;