improve git whitespace treatment