monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] OS-specific line endings


From: Stephen Leake
Subject: Re: [Monotone-devel] OS-specific line endings
Date: Sat, 03 Jul 2010 15:00:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)

Richard Levitte <address@hidden> writes:

> Good, this was discussed years ago, but the discussion drifted off
> into nothingness.  A rehash could maybe take us closer to something
> workable.

Ok. I'm only looking to solve a very specific problem, but if that also
leads to a general mechanism, that's fine by me.

> The usual problem is there, how to make certain we don't do
> conversions with files that should be seen as binary but aren't
> obviously so from a technical point of view.

In my proposal, file-munging of any sort is only done for files with the
corresponding attribute.

With modern tools (at least modern free-software tools), the issue of
line-endings is pretty much moot. All the tools I use can handle any of
the three OS-specific line endings (Unix, DOS, Mac). My project policy
is to always use Unix line endings, but it actually doesn't matter.

I suspect this is the real reason there is no line-ending file munging
in mtn; it's simply not needed.

So tools like Quartus, that overwrite user-edited files, and insist on
OS-specific line endings, are simply broken.

I'm only proposing changing mtn in order to be able to cope better with
this broken tool.

-- 
-- Stephe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]