There is an option in git client (core.autocrlf). According to the option, all the sources should be committed to Git in Linux end-of-line style. According to Stash plugin API, there is not way to check EOL style of the files, as all the committed data is passed line-by-line, already splitted and already without EOL symbols.
How it is suggested to perform this restirction in Stash?
Alternatively, you could skip the Stash plugin API altogether install a git crlf hook in your repository on disk. This is a bit less desirable since it'll involve manually installing the hook in each repository you create in Stash.
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs