Skip to content

Commit e254498

Browse files
etc-merge: Refactor and fix dir perms while merging
While merging, existing directory in new_etc was being recursively deleted which is not correct as any new files might also be deleted. Instead, we simply create a directory if it doesn't exists, or if it does exists, we update its metadata accordingly. Add some test cases for the above. Signed-off-by: Johan-Liebert1 <[email protected]> cli: Add internal opt for printing etc-diff Signed-off-by: Johan-Liebert1 <[email protected]>
1 parent 14eadcc commit e254498

File tree

4 files changed

+206
-126
lines changed

4 files changed

+206
-126
lines changed

Cargo.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)