git add -p then edit and nuke the profane lines. Sure there's a way to automate that - it's just patch hunk munging…