git diff and white space
So I’m getting ready to make a commit to wxperl and I run a
to check on changes and git yelled at me that I had some trailing white space. Well it didn’t yell but it hi-lighted the white space in red. Way awesome!

Tags: geek, git
This entry was posted
on Wednesday, January 7th, 2009 at 11:44 pm and is filed under General.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Just so you know, emacs has M-x nuke-trailing-whitespace which will greatly clean up your files when needed. It’s handy for most types of files and I use it regularly for code, LaTeX, XML and things that I tend to heavily edit over a period of time.
Still, awesome little find there!
Yeah, I generally use TextMate for coding which has the same. Did some quick edits in vim remotely this time. I’m sure vim has a built in command or a global s/// would have taken care of it but I didn’t think I had added excess white space in my quick little edit ;)