typos
diff --git a/lib/commit_graph.c b/lib/commit_graph.c
index ccee951..4883293 100644
--- a/lib/commit_graph.c
+++ b/lib/commit_graph.c
@@ -677,7 +677,7 @@ got_commit_graph_iter_next(struct got_object_id **id,
*id = NULL;
if (graph->iter_node == NULL) {
- /* We are done interating, or iteration was not started. */
+ /* We are done iterating, or iteration was not started. */
return got_error(GOT_ERR_ITER_COMPLETED);
}
@@ -685,7 +685,7 @@ got_commit_graph_iter_next(struct got_object_id **id,
TAILQ_LAST(&graph->iter_list, got_commit_graph_iter_list) &&
got_object_idset_num_elements(graph->open_branches) == 0) {
*id = &graph->iter_node->id;
- /* We are done interating. */
+ /* We are done iterating. */
graph->iter_node = NULL;
return NULL;
}