-
Website
http://blogobaggins.com -
Original page
http://blogobaggins.com/2009/03/31/waging-war-on-whitespace.html -
Subscribe
All Comments -
Community
-
Top Commenters
-
Bradley Grzesiak
1 comment · 3 points
-
mxcl
2 comments · 1 points
-
chmurph2
20 comments · 1 points
-
Geoffrey Grosenbach
1 comment · 6 points
-
nsmgr8
1 comment · 4 points
-
-
Popular Threads
Is it that simple?
I was searching for a way to do this forever. You made my day. Thank you very much!
Couldn't agree more.
-Chris
Even better would be a pre-commit hook that removed lines from staging that are only changes in trailing whitespace.
Perhaps in version 2.
source control*, though I acknowledge my solution is flawed with languages
like Markdown. One day that'll burn me and I'll fix it in some fashion.
-Chris
* There is a reason why it's called "source control" though. :)
http://manual.macromates.com/en/scope_selectors
-Chris
Or, try whitespace-mode to see trailing whitespace displayed in ugly colors.
See my 4th footnote. :)
"ahh, *I* made this file better."