We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e02f567 commit 531be3eCopy full SHA for 531be3e
src/apply.c
@@ -97,7 +97,7 @@ static bool match_hunk(
97
git_diff_line *preimage_line = git_vector_get(&preimage->lines, i);
98
git_diff_line *image_line = git_vector_get(&image->lines, linenum + i);
99
100
- if (preimage_line->content_len != preimage_line->content_len ||
+ if (preimage_line->content_len != image_line->content_len ||
101
memcmp(preimage_line->content, image_line->content, image_line->content_len) != 0) {
102
match = 0;
103
break;
0 commit comments