diff options
Diffstat (limited to 'pkgs/by-name/ro')
| -rw-r--r-- | pkgs/by-name/ro/rollup/src/main.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/pkgs/by-name/ro/rollup/src/main.rs b/pkgs/by-name/ro/rollup/src/main.rs index 3b542f6c..3fd3840b 100644 --- a/pkgs/by-name/ro/rollup/src/main.rs +++ b/pkgs/by-name/ro/rollup/src/main.rs @@ -300,9 +300,7 @@ fn apply_patches( } FileDiff::Remove { path, .. } => { if applies_to.join(path).try_exists()? { - if drop_in_applies(&config.drop_ins, owner, &root, path)? { - final_diffs.push(file_diff.to_owned()); - } + final_diffs.push(file_diff.to_owned()); } else { drop_msg!( "Dropping remove of `{}`, as the file does not exist in the rollup target.", @@ -319,8 +317,7 @@ fn apply_patches( from.display(), to.display() ) - } - if drop_in_applies(&config.drop_ins, owner, &root, to)? { + } else { final_diffs.push(file_diff.to_owned()); } } else { @@ -333,9 +330,7 @@ fn apply_patches( } FileDiff::Change { path, .. } => { if applies_to.join(path).try_exists()? { - if drop_in_applies(&config.drop_ins, owner, &root, path)? { - final_diffs.push(file_diff.to_owned()); - } + final_diffs.push(file_diff.to_owned()); } else { drop_msg!( "Dropping change to `{}`, as the file does not exist in the rollup target.", |
