diff options
author | Fredrik Berggren <vesz.wormwood@gmail.com> | 2016-04-22 14:36:11 +0200 |
---|---|---|
committer | Fredrik Berggren <vesz.wormwood@gmail.com> | 2016-06-22 08:36:45 +0000 |
commit | 01952e6634441291f5909c4e88639593a9a539f7 (patch) | |
tree | f7015669f919a3f1f09ce36bbbe751359c1148ad | |
parent | 8b39fb4bc01809f20a2998c55dede18717682a56 (diff) | |
download | git-repo-01952e6634441291f5909c4e88639593a9a539f7.tar.gz |
Adds additional crlf clobber avoidance.
Adds the hook-scripts to .gitattributes due to the shell-scripts not
liking CRLF which they will get if a user sets 'autocrlf = true'
in their global gitconfig.
Further, since the python interpreter can handle either CRLF or LF,
python-scripts specific line-ending rules have been removed.
Change-Id: I2d6bfd491b2f626b9ca93c40a3a7f2cfba6c54f0
-rw-r--r-- | .gitattributes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes index d65028a4..cdd8546d 100644 --- a/.gitattributes +++ b/.gitattributes | |||
@@ -1,4 +1,4 @@ | |||
1 | # Prevent /bin/sh scripts from being clobbered by autocrlf=true | 1 | # Prevent /bin/sh scripts from being clobbered by autocrlf=true |
2 | git_ssh text eol=lf | 2 | git_ssh text eol=lf |
3 | main.py text eol=lf | ||
4 | repo text eol=lf | 3 | repo text eol=lf |
4 | hooks/* text eol=lf | ||