logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 7aeb9168b01971e4e2c4c9b757dff09638b171ac
parent: f53ed108b0c6218eef118bbd0b77078d36c46a96
Author: Daniel Hunsaker <danhunsaker@gmail.com>
Date:   Mon, 26 Jun 2017 05:15:24 -0600

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.

Diffstat:

A.gitattributes14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/.gitattributes b/.gitattributes @@ -0,0 +1,14 @@ +* text=auto eol=lf +*.eot -text +*.gif -text +*.gz -text +*.ico -text +*.jpg -text +*.mp3 -text +*.ogg -text +*.png -text +*.ttf -text +*.webm -text +*.woff -text +*.woff2 -text +spec/fixtures/requests/** -text !eol