git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What are the ways CRLF files can make it into the repository?
@ 2012-09-21 19:02 Joshua Jensen
  2012-09-22 12:08 ` Konstantin Khomoutov
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Jensen @ 2012-09-21 19:02 UTC (permalink / raw)
  To: git@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: What are the ways CRLF files can make it into the repository?
  2012-09-21 19:02 What are the ways CRLF files can make it into the repository? Joshua Jensen
@ 2012-09-22 12:08 ` Konstantin Khomoutov
  0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Khomoutov @ 2012-09-22 12:08 UTC (permalink / raw)
  To: Joshua Jensen; +Cc: git@vger.kernel.org

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-22 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-21 19:02 What are the ways CRLF files can make it into the repository? Joshua Jensen
2012-09-22 12:08 ` Konstantin Khomoutov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).