Recently a core committer requested me to remove whitespace changes (blame my idea settings that formatted tab spacing etc). Here’s an easy way to do this –
soft reset the commit on your local branch
1
git reset --soft HEAD~1
create a patch using git-diff requesting it to ignore space changes