fix error in previous commit
diff --git a/lib/commit_graph.c b/lib/commit_graph.c
index da0a70c..1cc95cc 100644
--- a/lib/commit_graph.c
+++ b/lib/commit_graph.c
@@ -450,7 +450,9 @@ fetch_commits_from_open_branches(int *nfetched,
* branch. Keep going on other branches.
*/
err = close_branch(graph, commit_id);
- break;
+ if (err)
+ break;
+ continue;
}
if (changed) {
add_node_to_iter_list(graph, new_node);