Commit Diff


commit - 3a832b52c3b15cb85a1ffa9c1b889ec2cac88b54
commit + 3a8e4bcba34d9b9ff67cb6f4457a7a43188584fc
blob - c886d1a285863fa2148b2b295b733d08fe7c9040
blob + 4cbe7710567e73fbf7070ea142230f6630e4e42b
--- lib/diff_myers.c
+++ lib/diff_myers.c
@@ -1368,7 +1368,7 @@ diff_algo_myers(const struct diff_algo_config *algo_co
 			 * is horizontal, meaning first remove one atom from the
 			 * left before sliding down the snake.
 			 * If right_section_len > left_section_len, the lead-in
-			 * is vetical, so add one atom from the right before
+			 * is vertical, so add one atom from the right before
 			 * sliding down the snake. */
 			if (left_section_len == right_section_len + 1) {
 				if (!diff_state_add_chunk(state, true,
blob - a06df2c36c9d8cb203803661ff563e969a584e88
blob + 6ef9ad7b307300550afe1dee8a908ded0270c67a
--- lib/diff_patience.c
+++ lib/diff_patience.c
@@ -105,7 +105,7 @@ diff_atoms_mark_unique_in_both(struct diff_data *left,
 			       unsigned int *unique_in_both_count)
 {
 	/* Derive the final unique_in_both count without needing an explicit
-	 * iteration. So this is just some optimiziation to save one iteration
+	 * iteration. So this is just some optimization to save one iteration
 	 * in the end. */
 	unsigned int unique_in_both;
 	int r;