Re: remote#branch
- From
- Jan Hudec <bulb@ucw.cz>
- Date
- Oct 29, 2007, 17:40 UTC
- Message-ID
- <20071029174000.GA4449@efreet.light.src>
- In-Reply-To
- <Pine.LNX.4.64.0710280000240.4362@racer.site>
On Sun, Oct 28, 2007 at 00:01:57 +0100, Johannes Schindelin wrote:
Show 15 quoted lines
> Hi, > > On Sat, 27 Oct 2007, Jan Hudec wrote: > > > On Tue, Oct 16, 2007 at 22:35:25 +0100, Johannes Schindelin wrote: > > > > > ',' is allowed in ref names, so ',' is out. > > > > Actually since many characters that are allowed in ref name are not > > allowed in URL at all, the ref-name has to be url-escaped. Which brings > > all characters back in, because they can always be specified escaped. > > No. The URL part of it has to be encoded. But the ref names do _not_. > (If we really want to have a way to specify the remote URL and the > branch(es) we want to fetch _at the same time_.)
If the branch names are not url-escaped, than the result is not an URL. Which is just ugly and confusing. If it looks like an URL, it should better be one.
-- Jan 'Bulb' Hudec <bulb@ucw.cz>