<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Eric Siegerman wrote:
<blockquote cite="mid:1238463002.796.30.camel@claves" type="cite">
  <pre wrap="">On Tue, 2009-03-31 at 08:43 +1000, Ian Clatworthy wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">In general, wt-format[:repo-format] where the default
repo-format is lf. I'm happy to change the separator to -, +, / or
something else but : seems as good as any.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
How about splitting the two config items into separate
properties?  E.g., what you have as "native:crlf" would instead
be something like:
    [...]
    eof = native
    repo-eof = crlf

and one (presumably) common configuration for Windows developers
working on cross-platform projects would be:
    [...]
    eof = crlf
    repo-eof = lf

Your defaulting of the repo-format is easily arranged by having
the "repo-eof" config property default to "lf".  (Probably "eof"
should default to "native", but that's a whole other discussion.)

  </pre>
</blockquote>
I agree that this seems to be more self-documenting and easier to
understand.&nbsp;&nbsp;&nbsp; And your use-case for the "big cheese" to mandate
repository format, is a good justification for splitting the
configuration.<br>
<br>
Matt<br>
</body>
</html>