From: Linus Torvalds Date: Wed, 08 Aug 2007 03:03:03 GMT Subject: Re: [PATCH] tests: added d2u to have unix style testfiles even in textmode Message-ID: In-Reply-To: <11865269472121-git-send-email-prohaska@zib.de> On Wed, 8 Aug 2007, Steffen Prohaska wrote: > > This is needed if the content of files is compared with > precomputed sha1s or stored expected results. > > ***WARNING*** > This patch is useful for testing and illustrating the problem > but not thought to be applied to any official git branch. Quite frankly, *much* rather than having d2u everywhere, why not make the default for DOS/Windows be to have [core] autocrlf=true and then none of this should hopefully be needed. (We still need to write the internal git objects using O_BINARY to make sure that cygwin doesn't corrupt binary data, but that's a totally different issue). Linus