diff options
author | Edward Thomson <ethomson@microsoft.com> | 2015-06-10 12:24:06 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2015-06-10 12:24:06 -0400 |
commit | f284e72946306bdbb6a6670769d29310fa279545 (patch) | |
tree | c75a12b67f4318c1e2332b747e549b24d2dc0508 | |
parent | da6720fcc5d9f368e7aa562384439498c1bf307e (diff) | |
download | libgit2-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-- | .gitattributes | 3 |
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 |