upgrade-helper icon indicating copy to clipboard operation
upgrade-helper copied to clipboard

Show trailing newline differences

Open simon-abbott opened this issue 2 years ago • 4 comments

Feature Request

I was looking at the [0.71.4 -> 0.72.0-rc.0] upgrade guide and I noticed several changes (notably .watchmanconfig) that seem to be identical. I suspect that these changes are due to trailing newline changes, but the diff display doesn't show that. It would be nice if it showed both a) that there is a newline difference, and b) what that difference is (added, removed, etc).

Why it is needed

Not being able to easily tell exactly what changed makes using the helper a bit more cognitively difficult than it needs to be.

Possible implementation

Not sure, but I know it's possible since git diff does it.

Code sample

I don't know.

simon-abbott avatar Mar 22 '23 18:03 simon-abbott