Re: [PATCH] tests: added d2u to have unix style testfiles even in textmode
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Aug 8, 2007, 03:03 UTC
- Message-ID
- <alpine.LFD.0.999.0708071959470.23971@woody.linux-foundation.org>
- In-Reply-To
- <11865269472121-git-send-email-prohaska@zib.de>
On Wed, 8 Aug 2007, Steffen Prohaska wrote:
Show 7 quoted lines
> > 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