[Geany-devel] Remove extra whitespace at end of lines in all source files?

Alexander Eberspächer alex.eberspaecher at xxxxx
Wed Oct 12 17:11:01 UTC 2011


On 10/12/2011 04:14 PM, Nick Treleaven wrote:

> We've mostly done this before, but I'm not sure this is a good idea. It
> means more maintenance burden on receiving code. What's so bad about
> trailing whitespace?

Well, it turns into a problem as soon as people strip it.

Apparently, one can use git hooks (http://progit.org/book/ch7-3.html) to 
remove trailing whitespace, see
http://snipplr.com/view/28523/git-precommit-hook-to-fix-trailing-whitespace/

Take care

Alex Eberspächer



More information about the Devel mailing list