[OT] DVCS

"Jérôme M. Berger" jeberger at free.fr
Thu Nov 18 11:18:02 PST 2010


klickverbot wrote:
> On 11/17/10 10:27 PM, "Jérôme M. Berger" wrote:
>> […]It might be possible to change the configuration so
>> that this won't happen, but the simple fact that this happens with
>> the *default* config does not fill me with confidence regarding data
>> integrity and Git...
> 
> This is not exactly true, at least not for the Git on Windows installer,
> which presents you with the three possible choices for handling line
> endings.
> 
	Yes, I saw this option and left the default selected.

> Also, I am not quite sure if this deserves the label »data corruption«,
> because even if you have auto-conversion of line endings turned on and
> Git fails to auto-detect a file as binary, no history data is corrupted
> and you can fix the problem by just switching off auto-conversion
> (either globally or just for the file in question via gitattributes) –
> in contrast to actual history/database corruption.

	It deserves the label "data corruption" since Git did the
conversion when committing the file, which means that the version
stored in the history was corrupted.

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20101118/8c8e3980/attachment-0001.pgp>


More information about the Digitalmars-d-announce mailing list