Closed entropitor closed 11 years ago
Yeah I've seen this in a couple of places but I've yet to hear a compelling reason to why we should care about trailing whitespaces. Until I do I'd prefer to keep it outside Ungit, but I think you can configure git to throw errors when it sees trailing whitespaces (take a look at core.whitespace). Hope that helps.
Many projects don't like trailing whitespaces so it would be nice if those were indicated in the diff before committing, maybe even with a warning when committing that the commit contains trailing whitespaces.