summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-06-10 12:24:06 -0400
committerEdward Thomson <ethomson@microsoft.com>2015-06-10 12:24:06 -0400
commitf284e72946306bdbb6a6670769d29310fa279545 (patch)
treec75a12b67f4318c1e2332b747e549b24d2dc0508
parentda6720fcc5d9f368e7aa562384439498c1bf307e (diff)
downloadlibgit2-f284e72946306bdbb6a6670769d29310fa279545.tar.gz
gitattributes: let clients use native line endings
Use "text=auto" to ensure that we get LFs in the repository, but let clients have their native line endings in their worktree.
-rw-r--r--.gitattributes3
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes
index f90540b55..176a458f9 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1 @@
-*.c eol=lf
-*.h eol=lf
+* text=auto