Your comments

There should also be a warning when you try to commit a file with inconsistent line endings.