Commit e254498
committed
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- crates
- etc-merge/src
- lib
- src
4 files changed
+206
-126
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments