Sorry, I should have explained it. I chided you for "crlf=input" being crazy, but then I realized that "crlf=true" really isn't too bad a config variable for saying that you want CRLFs. Just "crlf" seems a bit obscure still, so I came up with "localcrlf": if it's "true" it means you want CRLFs locally (in your working directory), if it's "false" you want LFs.
It helps to think about the situations where you're likely to change this. If you're on Linux but you want CRLFs in your working directory, set "localcrlf=true". If you're on Windows but don't want CRLFs, "localcrlf=false". Thinking about it, "input" could be an alias for "false", which would make it _exactly_ what you suggested except for a slight clarification in the name.
I'm sorry. Are you the same Linus Torvalds who wrote this:
? I agree with that sentiment. "crlf=input" is silly; if you have a file that always has to be LF no matter what, just set it to "-crlf" and make sure you don't accidentally introduce any CRs. That is what you have to do for a file that always has to be CRLF, after all. As always, I'm not suggesting getting rid of "crlf=input"; I would keep it for backwards compatibility, but not emphasize it in the documentation.
I agree with this! I just don't agree that the unified syntax should be married to the old, poor syntax, and "crlf=input" is a straw man. It's both ugly and unnecessary.
Making the docs understandable is important. I have changed the docs, and I will keep trying to improve them. But making the configuration understandable is _also_ important! It's not just the colour of the bike shed, it's how it _works_. This discussion is not a waste of time.
But if you insist, here's how it looks to me: I'm the one trying to build a new bike shed from the parts of the grotty one that nobody really likes to use, and you're the one saying I need to paint it in the same 70s brown-and-mustard colour scheme as the old one.
The frustrating thing is that you're also coming up with some interesting colour combinations elsewhere, but you seem resigned to the idea that we're stuck with the ugliness. I don't think we are.
--
Eyvind
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html