Delete trailing whitespace

The following command is used to accomplish this:

    git ls-files | xargs sed -i '' -e's/[[:space:]]*$//'

the sed here is BSD version (I'm using a Mac), but it is supposed to work well with
GNU version.

I think getting rid of trailing whitespace is a good practice and it is very easy to be done since many text editors has this built-in feature.