Git/Stash EOL-style check plugin
Plugin rejects pushing commits, containing wrong EOL style
Prevents pull requests with wrong EOL style from merging
Plugin supports files regexp for exclusion from the checks.
There is a special option to allow wrong EOL style for files, which are already committed with wrong EOL style.
There are multiple problems developing software on different operating systems. One of the most popular - mixing of different end-of-line styles, which have CRLF for Windows, LF for Linux, and CR for MacOS.
Git defines, that sources should be stored using Linux-style EOF. It is described in ProGit book v2 http://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#Formatting-and-Whitespace
This plugin performs both pre-receive hook and merge-check for restricting EOL-style of the committed code. Only Linux-style code is allowed.
Privacy and security