From: Jeff King Date: Mon, 23 Feb 2009 07:10:56 GMT Subject: Re: autocrlf=input and safecrlf (was Re: CVS import [SOLVED]) Message-ID: <20090223071056.GA29241@coredump.intra.peff.net> In-Reply-To: <1570.77.61.241.211.1235372943.squirrel@hupie.xs4all.nl> On Mon, Feb 23, 2009 at 08:09:03AM +0100, Ferry Huberts (Pelagic) wrote: > > But won't that now import CRLF's into your new git repo? Especially on > > Windows, where (IIRC) cvs gives you files with CRLF by default? > > Yes it would. But sadly that's the only way to make sure that the import > will work (without serious manual intervention). > I found this out the hard way. Wouldn't setting autocrlf=true, safecrlf=true do the import you want? Then you could reset autocrlf to input after import but before checkout time. -Peff