Commit Diff


commit - 221e79cdddc404707056ccd771cc9f38aea3f09c
commit + 2c7f8870811e48b3a671f90aeb93ce318e66e0e6
blob - ccee9517ddfdc0efeae73de8d0fcae2768ca9857
blob + 4883293d9653ef729f4aaafa2b562d9e0d575c7d
--- lib/commit_graph.c
+++ 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;
 	}