]> cat aescling's git repositories - mastodon.git/commit
Add .gitattributes file to avoid unwanted CRLF (#3954)
authorDaniel Hunsaker <danhunsaker@gmail.com>
Mon, 26 Jun 2017 11:15:24 +0000 (05:15 -0600)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 26 Jun 2017 11:15:24 +0000 (13:15 +0200)
commit7aeb9168b01971e4e2c4c9b757dff09638b171ac
tree7fdd1f4f5b888ea810ad0279ea2041388b6d242d
parentf53ed108b0c6218eef118bbd0b77078d36c46a96
Add .gitattributes file to avoid unwanted CRLF (#3954)

When Windows checks out files, it defaults to changing line endings to CRLF. If these files are then copied to a Linux system to be run, and the endings aren't changed at some point in that process, things break. This file forces git to use LF for all text files on all systems (except the request testing specfiles) to prevent issues everywhere.
.gitattributes [new file with mode: 0644]