Do not skip line-by-line comparison if -q and -I are specified.

This fixes a regression from r356695.

Submitted by:	kevans
Reported by:	Jenkins via lwhsu
MFC after:	6 days
This commit is contained in:
markj 2020-01-14 15:35:03 +00:00
parent 650da643c8
commit 557b058809

View File

@ -349,7 +349,7 @@ diffreg(char *file1, char *file2, int flags, int capsicum)
goto closem;
}
if (diff_format == D_BRIEF) {
if (diff_format == D_BRIEF && ignore_pats == NULL) {
rval = D_DIFFER;
status |= 1;
goto closem;