making git whitespace removal work on OS X