commit | bbf71fe363d7ac9411f37c4075bf11004c2b4e60 | [log] [tgz] |
---|---|---|
author | Mats Bengtsson <mmmats@gmail.com> | Mon Feb 11 22:13:39 2013 +0100 |
committer | Mats Bengtsson <mmmats@gmail.com> | Mon Feb 11 22:13:39 2013 +0100 |
tree | 59c9c9867910d10b96309432e923480675163072 | |
parent | cd81dd6403fc8dbe6ec5920c517d9083902c3c1f [diff] |
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
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d65028a --- /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