stash-eol-check

for Bitbucket Server 6.0.0 - 7.17.0 and more
196 installs
  • Supported
Free app

Git/Stash EOL-style check plugin

Rejects pushes

Plugin rejects pushing commits, containing wrong EOL style

Prevents merging

Prevents pull requests with wrong EOL style from merging

Supports excludes

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.

More details

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

Privacy policy

Atlassian's privacy policy is not applicable to the use of this app. Please refer to the privacy policy provided by this app's vendor.

Vendor privacy policy

Security

This app is not part of the Marketplace Bug Bounty program. Learn more

Resources

Gallery