# What are the ways CRLF files can make it into the repository?

2 messages from 2012-09-21 to 2012-09-22. Participants: Joshua Jensen, Konstantin Khomoutov.
Thread: https://gitlist.dev/t/31620

## Joshua Jensen, 2012-09-21 19:02

Subject: What are the ways CRLF files can make it into the repository?
Message-ID: <505CB9B3.5010307@workspacewhiz.com>
URL: https://gitlist.dev/e/505CB9B3.5010307%40workspacewhiz.com

```
Hi.

We've been running with core.autocrlf = input (some people with 
core.autocrlf = true).  However, there are some text files in the 
repository that are CRLF, and I am at a loss to explain how they go here.

We understand that if core.autocrlf=false, this could happen.  While I 
admit there is a remote possibility this did occur, I'm not convinced 
our people were smart enough with Git 1.5 years ago to make this 
configuration change.

There are no .gitattributes settings for these source code files.

Are there other ways CRLF files could sneak into the repository?

Thanks.

Josh

```

## Konstantin Khomoutov, 2012-09-22 12:08

Subject: Re: What are the ways CRLF files can make it into the repository?
Message-ID: <20120922120821.GI32381@localhost.localdomain>
URL: https://gitlist.dev/e/20120922120821.GI32381%40localhost.localdomain
In-Reply-To: <505CB9B3.5010307@workspacewhiz.com>

```
On Fri, Sep 21, 2012 at 01:02:11PM -0600, Joshua Jensen wrote:

> We've been running with core.autocrlf = input (some people with
> core.autocrlf = true).  However, there are some text files in the
> repository that are CRLF, and I am at a loss to explain how they go
> here.
> 
> We understand that if core.autocrlf=false, this could happen.  While
> I admit there is a remote possibility this did occur, I'm not
> convinced our people were smart enough with Git 1.5 years ago to
> make this configuration change.
> 
> There are no .gitattributes settings for these source code files.
> 
> Are there other ways CRLF files could sneak into the repository?
Is there any chance Git considered them binary for some reason and hence
did not apply its EOL-conversion logic at all?

```
