Support for alternate line-endings
Issue #16
closed
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)
-
Account Deactivated -
Account Deactivated - changed status to closed
- Log in to comment
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.)