New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add `.gitattributes` to handle line endings consistently across platforms #12

Open
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@paultcochrane
Contributor

paultcochrane commented Feb 7, 2015

These changes set the text file line endings appropriately independent of the user's operating system or local core.autocrlf settings.

Setting the line endings for the relevant operating system stops perl Makefile.PL from generating the following warning:

WARNING: ABSTRACT contains control character(s), they will be removed

For a discussion about how GitHub recommends that line endings be handled in a platform-independent manner, please see: https://help.github.com/articles/dealing-with-line-endings/.

I appreciate that this is a large change to the repository and may be considered to be completely unwarranted. Nevertheless, it improves compatibility across platforms without harming the original Windows usage (I have checked that the files are checked out with CRLF endings on Windows 7, as expected). However, I can understand if you do not wish to merge this change and don't have a problem if it's rejected: the PR is merely intended to be helpful if at all possible :-)

paultcochrane added some commits Feb 7, 2015

Add .gitattributes
This sets the text file line endings appropriately independent of the user's
operating system or local `core.autocrlf` settings.

Setting the line endings for the relevant operating system stops `perl
Makefile.PL` from generating the following warning:

WARNING: ABSTRACT contains control character(s), they will be removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment