[darcs-users] Line endings
Rob Moss
rgm at csse.unimelb.edu.au
Tue Jul 8 01:56:01 UTC 2008
2008/7/8 Gary King <gwking at metabang.com>:
> It's so _human_ that there are three different line ending standards!
> At least the old Mac OS one is fading into the past...
>
> IIRC, cvs is supposed to handle this at the client side: the server
> is assumed to use line ending X and each client converts X to the
> local format as necessary (and converts back to X on commit / record).
> This happens for "text" files; "binary" files are ignored.
>
> This solution isn't all that it might be but it is, at least, simple.
> Wouldn't this be something worth doing in darcs?
When I was using both Unix and Windows platforms throughout my
undergraduate course, most students in my situation simply used
Windows editors that understood all three line endings -- from the
costlier products such as UltraEdit, to free ones such as Emacs
(and I assume Vim is just as flexibly) and dirt-simple ones such as
metapad. Whenever you opened a Unix text file, you never saw a
difference, and you only needed to make sure that when you saved
a new file under Windows, you chose the correct line ending.
cheers,
Rob
More information about the darcs-users
mailing list