Re: remote#branch
- From
Jeff King <peff@peff.net>
- Date
- Oct 31, 2007, 01:57 UTC
- Message-ID
- <20071031015708.GA24403@coredump.intra.peff.net>
- In-Reply-To
- <200710310249.17233.jnareb@gmail.com>
On Wed, Oct 31, 2007 at 02:49:16AM +0100, Jakub Narebski wrote:
Show 5 quoted lines
> > ...which is a quoting mechanism, and it's not even one commonly used in > > emails (i.e., people have written "parse a URL from this text" scripts > > for RFC-encoded URLs, but _not_ for shell quoting). > > I don't think RFC-encoding is quoting mechanism used in emails, either.
That's funny, because I have hundreds of mails where that is the case, and none where people used shell-quoting. Most URLs don't _need_ any encoding, so we don't notice either way. But are you honestly telling me that if you needed to communicate a URL with a space via email, you would write:
'http://foo.tld/url with a space'
rather than:
http://foo.tld/url+with+a+space
?
I think the latter is much more common, if only because of the fact that copy and paste from most browsers' location bars gives the encoded version.
-Peff