Line endings in diffs (was: Re: [squeak-dev] Re: New trunk server)

Levente Uzonyi leves at elte.hu
Tue Jan 12 11:16:04 UTC 2010


On Tue, 12 Jan 2010, Igor Stasenko wrote:

> 2010/1/12 Levente Uzonyi <leves at elte.hu>:
>> On Tue, 12 Jan 2010, Igor Stasenko wrote:
>>
>>> 2010/1/12 Levente Uzonyi <leves at elte.hu>:
>>>>
>>>> Are these three lines identical or not (in a diff):
>>>> foo bar<cr><lf>
>>>> foo bar<cr>
>>>> foo bar<lf>
>>>>
>>>
>>> No. Please, not again. :) All of them should be treated equally. We're
>>> talking here about source code,
>>> not about binary files.
>>
>> Again? I doubt this question was raised before. We are talking about diffs
>> (at least I am).
>
> There was a lengthly discussion about how to deal with different line
> ending sequences in editor.
> You luckily missed it :)

The context is different. This is about diffs, not editors.


Levente

>
>>
>> (About the source code: I don't care how the source code is handled if
>> formatting is preserved. And no, I don't like pretty-printed versions.)
>>
>>
>> Levente
>>
>>>
>>>>
>>>> Levente
>>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>>
>>>
>>
>>
>
>
>
> -- 
> Best regards,
> Igor Stasenko AKA sig.
>
>



More information about the Squeak-dev mailing list