From: Petr Baudis Date: Sat, 30 Jan 2010 22:21:57 GMT Subject: Re: FEATURE REQUEST: Allow SSH style URLS (with extra colon) Message-ID: <20100130222157.GI9553@machine.or.cz> In-Reply-To: <87tyu3cyy3.fsf@jondo.cante.net> On Sat, Jan 30, 2010 at 06:57:56PM +0200, Jari Aalto wrote: > > According to git-clone[1] the SSH protocol is specied as: > > ssh://[user@]host.xz[:port]/path > > It woudl be nice if the ":" were allowed, so that the familiar SSH style > patch notation could be used, making the spec: > > ssh://[user@]host.xz[:[port]]/path > > An example: > > ssh://foo@examplecom:/path > | > Allowed But that's not an URL anymore. If you want to use ssh pathspec, write it as a pathspec, not an URL. Just foo@example.com:/path works fine. ;-) Petr "Pasky" Baudis