Fix color skipping of multiple files with the same content.
- If we process some file and we find another file with the same path and the same content and this other file is skipped for color then the currently being processed file has to be skipped for color too. (RhBug:1170124)
This commit is contained in:
parent
4c621e9777
commit
2f31395dcd
|
@ -587,6 +587,9 @@ assert(otherFi != NULL);
|
|||
if (!(oflags & RPMFILE_GHOST)) {
|
||||
rpmfsSetAction(fs, i, FA_SKIP);
|
||||
}
|
||||
/* if the other file is color skipped then skip this file too */
|
||||
} else if (oaction == FA_SKIPCOLOR) {
|
||||
rpmfsSetAction(fs, i, FA_SKIPCOLOR);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue