Re: [PATCH] tests: added d2u to have unix style testfiles even in textmode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux