Skip to content

Support diffing files#7

Open
curusarn wants to merge 3 commits into
tombrk:mainfrom
curusarn:main
Open

Support diffing files#7
curusarn wants to merge 3 commits into
tombrk:mainfrom
curusarn:main

Conversation

@curusarn
Copy link
Copy Markdown

@curusarn curusarn commented Jul 14, 2022

Until now kubectl-neat-diff only supported diffing directories of files.
This PR makes "neatify" recursive so we can also diff files.

This new behavior is closer to how "diff-like" command should behave.
Plus it will allow kubectl-neat-diff to be used for static diffing in tanka - see this PR for more context: grafana/tanka#558

Additionally, if we allowed --recursive to be passed to the diff command we would get fully recursive "neat" diff.

Just for the record I've tested the change.

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

Successfully merging this pull request may close these issues.

1 participant