How to remove blank line diff?
AndrejMitrovic opened this issue · 5 comments
Is it possible to remove these big green blocks? I think they're showing blank lines.
Might be related to #170.
Could you share an example pair of files that gives this effect, and say what you'd like to see instead?
Sure!
For example, test1.cpp:
void main ()
{
int x;
int y;
}
test2.cpp:
void main ()
{
int x;
int y;
}
void foo ()
{
}
Produces:
I don't need the blank lines to be highlighted with the green rectangles. It's distracting from the rest of the diff. Is there a way to disable highlighting whitespace changes, or just blank line changes?
Any fix related to this? I'm wondering...
I think this should be fixed with 9dbfbb9 and a new --show-no-spaces
argument. If this looks good, I can make this behavior the default?
Ah, sorry. I thought this was an open forum. I wasn't sure if there was a way to do this in Github in general.