modify gitconfig to refuse commits with LF/CR/CRLF mixed.
always turn to LF at commit time. do nothing when checks out.