Commit Graph

1 Commits

Author SHA1 Message Date
Sean Cross c49c895f39 gitattributes: add attributes file
On different platforms, line endings can differ. Git tries to
intelligently convert source code to match native line endings when
doing a checkout, unless a particular configuration flag is set.

An alternate approach is to create a `.gitattributes` file and manually
specify various types of files. This ensures files are properly handled.
It also prevents git from creating patches that consist of nothing more
than replacing line endings.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-16 12:51:09 +01:00