Customers have installed this add-on in at least 150 active instances.
    by Pavel Baranchikovfor Bitbucket Server 4.0.0 - 4.10.1 and more versions
    Versions available for Bitbucket Server 3.0.0 - 3.11.6
    This add-on isn't formally supported, but you can ask a question via Atlassian Answers.

    Ask a question

    Pavel Baranchikov supports this add-on.

    Get support

    Data Center
    This add-on is compatible with the clustering and high-availability capabilities of our products.
    Get it nowFree add-on

    Git/Stash EOL-style check plugin

    Git/Stash EOL-style check plugin

    Rejects pushes

    Prevents merging

    Supports excludes

    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.

    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.

    User reviews

    Sign in to write a review »
    by Shane Poage on 2015-01-07
    Works as advertised, but currently (as of 1/6/2014) rejects any attempt to push with --tags included.
    Was this review helpful?YesNo

    Pavel Baranchikov

    Fixed in version 0.3



    Pavel Baranchikov supports stash-eol-check. You can ask a support question via Atlassian Answers to get help.

    Ask a question


    Version 0.7 Bitbucket Server 4.0.0 - 4.10.1 Released 2015-12-04




    • Fixed #3: access denied on verifying pull request by non-admin user


    1. Log into your Bitbucket instance as an admin.
    2. Click the admin dropdown and choose Add-ons. The Manage add-ons screen loads.
    3. Click Find new add-ons from the left-hand side of the page.
    4. Locate stash-eol-check via search. Results include add-on versions compatible with your Bitbucket instance.
    5. Click Install to download and install your add-on.
    6. You're all set! Click Close in the Installed and ready to go dialog.

    To find older stash-eol-check versions compatible with your instance, you can look through our version history page.

    Similar add-ons