-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
[permissivediff] Allow to use permissive git diff to ignore diffs related to indentation #184
Comments
Hi @nvuillam ! Thanks for your interest in the plugin and for contributing in making it better ! I like this suggestion! I have questions:
Suggestion: the parameter name must follow the cli parameter apache convention. I suggest the following Please add me to your fork so I can contribute and help you solve CI/CD issues you may encounter |
You're welcome, thanks for your great plugin that allowed me to create a command on sfdx-hardis that completes automatically package.xml after a force:source:retrieve, so now at Hardis Group even consultants can work on SFDX projects, without having to be trained to git ❤️
Let's say that someone updated a label to add empty lines ... if permissive-diff was by default, such update would not be considered as a detected difference
The problem with cli parameter apache convention is that OCLIF flags convention does not agree:
Done ! |
Hi @nvuillam, just want to say a big thank you for this feature :) I've been wanting to do a "clean up" of some formatting issues in our repo for some time; this will allow me to do so without triggering a re-deployment of the components I update. |
@dcathcart I'm glad that this feature also helped you solve another complex use case, thanks a lot for your nice feedback :) |
Is your proposal related to a problem?
sfdx plugin sfdx-hardis uses sfdx-git-delta to:
Describe the solution you'd like
Manage a new argument
--permissivediff
to add the following parameters to git diff callIt allows to avoid detecting as a difference the indentation/spaces stuff
Describe alternatives you've considered
None
Additional context
I almost completed the dev in my fork of sfdx-git-delta, a PR will come soon
The text was updated successfully, but these errors were encountered: