From f284e72946306bdbb6a6670769d29310fa279545 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Wed, 10 Jun 2015 12:24:06 -0400 Subject: [PATCH] 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. --- .gitattributes | 3 +-- 1 file changed, 1 insertion(+), 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