Merge branch 'js/builtin-add-p-portability-fix'
More fixes to "add -p" * js/builtin-add-p-portability-fix: t6132(NO_PERL): do not run the scripted `add -p` t3701: test the built-in `add -i` regardless of NO_PERL add -p: avoid ambiguous signed/unsigned comparison
This commit is contained in:
@ -1560,7 +1560,7 @@ soft_increment:
|
||||
strbuf_remove(&s->answer, 0, 1);
|
||||
strbuf_trim(&s->answer);
|
||||
i = hunk_index - DISPLAY_HUNKS_LINES / 2;
|
||||
if (i < file_diff->mode_change)
|
||||
if (i < (int)file_diff->mode_change)
|
||||
i = file_diff->mode_change;
|
||||
while (s->answer.len == 0) {
|
||||
i = display_hunks(s, file_diff, i);
|
||||
|
Reference in New Issue
Block a user