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

Is there a way to ignore line-endings as changes? #512

Open
InDieTasten opened this issue Dec 19, 2023 · 2 comments
Open

Is there a way to ignore line-endings as changes? #512

InDieTasten opened this issue Dec 19, 2023 · 2 comments

Comments

@InDieTasten
Copy link

I'm diffing against a previous revision of a chart an am gettings the entire chart definition as diff, apart from the last line in every resource. I suspect the diffing tool recognizes different line endings. I don't know how they ocurred in the first place, but it would be great to know, if this is something I can toggle.

This is how the output looks like:
image

@antoineozenne
Copy link

antoineozenne commented Feb 4, 2025

Same thing for us. Some of us use Helm on Windows to deploy, and others on Mac. This makes the plugin unusable as large parts of the charts are always shown as different.

@antoineozenne
Copy link

@InDieTasten This seems to be a duplicate of #305. We can use --nomalize-manifests in the diff command to ignore style differences.

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

2 participants