-
-
Notifications
You must be signed in to change notification settings - Fork 419
Show a diff when a file will be or gets modified #1385
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
base: 3.x
Are you sure you want to change the base?
Conversation
Working on some improvements to not use `host.get_file' |
c4d16c8
to
4844468
Compare
This is awesome, just noting I'm not forgetting it. Need to handle when to show/not show the diff (ie when |
Right, maybe it would be best to add a new flag for that. I always would like to see the diff, even when not using I was also thinking to add a global flag which can also per operation, in case people do not want to show it for e.g. editing a file with passwords. |
I also think it's good to show the diffs without verbose logging, that's how I currently use it. A command line switch could indeed be enough. @jgelens thanks for pushing this over the finish line. When you're pushing other changes, would you mind adding a |
Of course, added. |
👍 for |
Co-authored-by: Xavier Vello <xavier.vello@gmail.com>
Now shows a diff of files which will be modified, only when its checksum its different.
Thanks @xvello (#985 (comment)) for the code!
This solves #985
3.x
at this time)scripts/dev-test.sh
)scripts/dev-lint.sh
)