Well, I can give a couple of personal examples that you easily try yourselves:

* Windows side: Copy/Paste in Windows can not deal with LF endings correctly.  
Example: PNotepad editor in Windows loads Linux files but copy-pasting from it 
(for example) to other apps messes up all text (puts it all in a single line).  
So, you first have to convert to CR/LF and then it will work OK.  For example, 
try (Linux mode PNotepad):

Hello
there

copy paste to Windows built-in notepad.  It ends up:

Hellothere

* Linux side (vi): Have you tried editing a Windows text file under vi?  It 
shows all ^M (CRs) at the end of each line.  No problem you can see use the 
file.  You either have to global delete them, or else pretend you don’t see 
them and continue editing the file until you end up having a text that some 
lines having LFs and some CR/LFs.  Looks really nice.

* Several old time assemblers will choke on wrong line endings.  Their binaries 
cannot be updated as the source is no longer available.  So, you must edit code 
only in the right format or you’re out of luck.

At any rate, I suppose by your response that you don’t want this.  Fine, you’re 
the boss! 

I also wrongly assumed the guys who maintain Git saw a reason for having this 
option.  I can promise you it wasn’t me who asked for it, so they must have had 
nothing better to do than to add a useless feature in their app that nobody 
ever needs.  (And, I don’t use Git, by the way.  I only mentioned it as a 
popular reference because I noticed fossil has a lot in common with Git in 
terms of the commands.)

Thanks anyway.

From: Richard Hipp 
Sent: Saturday, June 07, 2014 9:32 PM
To: Fossil SCM user's discussion 
Subject: Re: [fossil-users] autocrlf like in Git?





On Sat, Jun 7, 2014 at 2:03 PM, <to...@acm.org> wrote:

  Some tools (compilers, assemblers, editors) can deal with any type of line 
endings so text saved in a different platform is not an issue.  But, this is 
not a universal rule.  

Really?  What tool are you using where the line ending makes a difference?



-- 
D. Richard Hipp
d...@sqlite.org 


--------------------------------------------------------------------------------
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to