Re: remote#branch

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: David Kastrup <dak@...>, Jakub Narebski <jnareb@...>, <git@...>
Date: Wednesday, October 31, 2007 - 5:26 pm

On Wed, Oct 31, 2007 at 02:01:54PM -0700, Linus Torvalds wrote:


Yes, and in practice, it works with or without URL encoding, since
people aren't using names that need encoded.


I don't think it's zero gain; I think it's exactly what users who use
repos with characters that need quoting will expect to happen. That
being said, _I_ don't personally care that much since I think spaces in
filenames are the work of the devil, and I will never use them. And as a
result, I'm not going to implement the code to do it.

But I do think your argument that there is no value in the URL syntax is
just wrong.

I don't understand your mention of '~' and '/'; they don't need quoted
in URLs, and generally are not (though of course they can be).


But if you wrote a bunch of documentation referring to the git config
file as an INI file, would you expect people to complain when it
_didn't_ follow the usual expectation for INI files?


OK, this discussion is just getting nowhere, and there is useful git
work I could be doing, so let me sum up my position:

  - We should either resolve that some repo specifiers are URLs, or we
    should resolve that they are not. I think they are.
  - If they are URLs, then we should treat them like URLs, and not
    handling quoting is probably a bug. I refuse to accept that it is an
    _important_ bug until somebody actually has a repo that needs
    quoting, finds that git is substandard, and provides a patch.
  - If they are not URLs, then we should probably stop calling them that
    in the documentation.

And with that, I shall say no more on the subject. In the spirit of not
saying "oh, I don't want to talk about it anymore, you don't get to say
anything else," I invite you to respond to any of my comments above.

-Peff
-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: remote#branch, Jakub Narebski, (Tue Oct 30, 8:12 pm)
Re: remote#branch, David Kastrup, (Wed Oct 31, 2:42 am)
Re: remote#branch, Linus Torvalds, (Wed Oct 31, 11:28 am)
Re: remote#branch, Jeff King, (Wed Oct 31, 4:47 pm)
Re: remote#branch, Andreas Ericsson, (Wed Oct 31, 5:07 pm)
Re: remote#branch, Jeff King, (Wed Oct 31, 5:31 pm)
Re: remote#branch, Linus Torvalds, (Wed Oct 31, 5:01 pm)
Re: remote#branch, Linus Torvalds, (Wed Oct 31, 5:28 pm)
Re: remote#branch, Jeff King, (Wed Oct 31, 5:26 pm)
Re: remote#branch, Jeff King, (Tue Oct 30, 9:38 pm)
Re: remote#branch, Jakub Narebski, (Tue Oct 30, 9:49 pm)
Re: remote#branch, Jeff King, (Tue Oct 30, 9:57 pm)
Re: remote#branch, Pascal Obry, (Wed Oct 31, 5:33 am)
Re: remote#branch, Andreas Ericsson, (Wed Oct 31, 3:09 am)
Re: remote#branch, Mike Hommey, (Wed Oct 31, 4:35 am)
Re: remote#branch, Andreas Ericsson, (Wed Oct 31, 5:03 am)
Re: remote#branch, Mike Hommey, (Wed Oct 31, 5:15 am)
Re: remote#branch, Andreas Ericsson, (Thu Nov 1, 3:29 am)
Re: remote#branch, Jakub Narebski, (Wed Oct 31, 8:22 pm)
Re: remote#branch, Theodore Tso, (Thu Nov 1, 1:11 am)