Merge branch 'cm/diff-check-at-eol'
* cm/diff-check-at-eol: diff --check: correct line numbers of new blank lines at EOF
This commit is contained in:
2
diff.c
2
diff.c
@ -2158,7 +2158,7 @@ static void builtin_checkdiff(const char *name_a, const char *name_b,
|
||||
|
||||
ecbdata.ws_rule = data.ws_rule;
|
||||
check_blank_at_eof(&mf1, &mf2, &ecbdata);
|
||||
blank_at_eof = ecbdata.blank_at_eof_in_preimage;
|
||||
blank_at_eof = ecbdata.blank_at_eof_in_postimage;
|
||||
|
||||
if (blank_at_eof) {
|
||||
static char *err;
|
||||
|
Reference in New Issue
Block a user