From bbf71fe363d7ac9411f37c4075bf11004c2b4e60 Mon Sep 17 00:00:00 2001 From: Mats Bengtsson Date: Mon, 11 Feb 2013 22:13:39 +0100 Subject: [PATCH] Protect line endings in shell scripts Add a .gitattributes file to prevent /bin/sh scripts from getting clobbered by git config core.autocrlf=true setting. Change-Id: I3dfc992a9c275fceae64c9719168d81e60d911bd --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..d65028a4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# Prevent /bin/sh scripts from being clobbered by autocrlf=true +git_ssh text eol=lf +main.py text eol=lf +repo text eol=lf