Commit Diff


commit - e5447b812ab13381bef489dc01804c25cc226cd6
commit + acfce337ad1e68d4ab00bd78bdb6dd459acc3c46
blob - ff4b2f0ccb2a179948064d7170c6730ca40a54aa
blob + 1380f79ea94f4492b19d3d7e5851c1205e4383da
--- lib/diff_main.c
+++ lib/diff_main.c
@@ -301,8 +301,12 @@ diff_state_add_chunk(struct diff_state *state, bool so
 		result = &state->temp_result;
 	} else if (!state->result->chunks.len) {
 		/* Append to final result */
-		debug("first chunk\n");
 		result = &state->result->chunks;
+		debug("Add first chunk:\n");
+		debug("L\n");
+		debug_dump_atoms(&state->left, left_start, left_count);
+		debug("R\n");
+		debug_dump_atoms(&state->right, right_start, right_count);
 	}
 	if (result) {
 		ARRAYLIST_ADD(new_chunk, *result);