Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Show trailing whitespace in diff #12

jacob-carlborg opened this Issue Aug 31, 2013 · 6 comments


None yet
2 participants

It would be nice if the diff view could show trailing whitespace.


sorbits commented Sep 1, 2013

Not sure how you envision this visualized. I’d encourage you to try to work on this yourself and submit a pull request (as it’s unlikely something I’ll find time to play with).

Gitx visualizes it with a red background color.


sorbits commented Sep 1, 2013

But if a line has changed whitespace, it is already shown twice (with
red and green background).

On 1 Sep 2013, at 13:07, jacob-carlborg wrote:

Gitx visualizes it with a red background color.

Reply to this email directly or view it on GitHub:
#12 (comment)

Here's an example:

Uploading gitx_trailing_whitespace.png . . .

That didn't work out that well. See if this works: http://imageshack.us/scaled/thumb/689/5085.png

Created a pull request now: #13.

@sorbits sorbits closed this in c1d8cd2 Sep 18, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment