engineyard/engineyard — comment on commit b6a03a8878c5ed878759dbf667b28b4e31286648
File: lib/engineyard-cloud-client/models/environment.rb line 12
By martinemde:

Everyone on the team makes an effort to remove trailing whitespace from all of their commits. Jacob is one of the other textmate users and he tends to clean up all trailing whitespace.

Here's a git commit hook if you don't want to use add -p. git add . will not clean up whitespace.

http://stackoverflow.com/questions/591923/make-git-automatically-remove-trailing-whitespace-before-committing

And you can also set a TextMate save macro that uses textmate's built in whitespace cleanup. Just alias cmd+s as "clean up whitespace and then save"