Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore path #22

Open
giuseppepaul opened this issue Aug 2, 2017 · 0 comments
Open

Ignore path #22

giuseppepaul opened this issue Aug 2, 2017 · 0 comments

Comments

@giuseppepaul
Copy link

Just wondering if there's any recommended way of ignoring certain paths? I'm using diff and patch which are both great, but I have nested maps at certain points in the structure that I'd like to never be changed by the patch.

Without changing the structure of my data, my current idea is just to run the diff and then filter out anything with a specified name, say "_ignore" in the path, then patch from there.

Only problem with this is if I have a bunch of changes inside my "_ignore" then it's going to hurt performance, so it'd obviously be better to have diff ignore those if possible.

Appreciate any thoughts / help.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant