check a commit line endings etc