Moar does not display white space changes
I'm having a hard time finding something displaying whitespace changes in git diffs.
I run it like: GIT_PAGER=moar git diff
Then I get:
I already tried: -render-unprintable value=highlight
Can you post the diff as well?
Just do git diff | cat and post the output here?
Or if the file contains invisible whitespace, maybe better to git diff > whitespace.diff and attach whitespace.diff here.
Did you try https://github.com/walles/riff for highlighting this diff?
It's designed for making diffs more helpful.
If that doesn't show the white space change I'll need to know what actually changed to be able to do anything here.
And any change I make related to this is likely to be in riff.
OK. Not sure why it's different on my home machine, but this is what I could reproduce:
pager=cat
pager=moar
pager=delta
So all three of them show the trailing space which is odd since I felt it was very hard on my work machine to get the trailing space to be displayed.
I'm really at a loss regarding what to do here.
If this still repros on your work machine, are you running some other terminal there than at home? tmux or something like that?
Terminal differences is a possible (but not likely I'd say) explanation here.
I have run moar with multiple different terminals but I don't recall ever seeing this problem.
I don't think anything needs to be done here. I'll check if I can reproduce it on the other machine and in the mean time close this ticket.