diff options
author | Mats Bengtsson <mmmats@gmail.com> | 2013-02-11 22:13:39 +0100 |
---|---|---|
committer | Mats Bengtsson <mmmats@gmail.com> | 2013-02-11 22:13:39 +0100 |
commit | bbf71fe363d7ac9411f37c4075bf11004c2b4e60 (patch) | |
tree | 59c9c9867910d10b96309432e923480675163072 | |
parent | cd81dd6403fc8dbe6ec5920c517d9083902c3c1f (diff) | |
download | git-repo-bbf71fe363d7ac9411f37c4075bf11004c2b4e60.tar.gz |
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
-rw-r--r-- | .gitattributes | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..d65028a4 --- /dev/null +++ b/.gitattributes | |||
@@ -0,0 +1,4 @@ | |||
1 | # Prevent /bin/sh scripts from being clobbered by autocrlf=true | ||
2 | git_ssh text eol=lf | ||
3 | main.py text eol=lf | ||
4 | repo text eol=lf | ||