Add .gitattributes to tell git to use LF newlines

These hook scripts execute with bash and need LF newlines.  Set eol=lf
to get LF newlines even when core.autocrlf is enabled.  While at it,
also enable whitespace=indent-with-non-tab.
This commit is contained in:
Brad King 2014-07-07 15:18:38 -04:00
parent 11679f8337
commit b9b952190a

2
.gitattributes vendored Normal file

@ -0,0 +1,2 @@
.git* export-ignore
* eol=lf whitespace=indent-with-non-tab