Support for alternate line-endings

Create issue
Issue #16 closed
James Holmes created an issue

Is it possible to allow support for changing line-endings when downloading files from Bitbucket?

We have a Windows based client who would like source code delivered with Windows style line-endings. We can post-process the .zip, but it would be much neater to extract in the required format directly...

Comments (2)

  1. Bryan Turner

    git archive itself doesn't have any command line options for controlling line endings. However, you can use a .gitattributes file in the repository in question to enforce specific line endings for specific files. See this question for some details on how it works. (GitHub's implementation of archive is broadly the same as this plugin.)

  2. Log in to comment