From: Bert Wesarg Date: Tue, 11 Aug 2009 15:31:50 GMT Subject: Re: [PATCH 5/8] Add a config option for remotes to specify a foreign vcs Message-ID: <36ca99e90908110831g2ad52a5ar4a755723a6682f77@mail.gmail.com> In-Reply-To: <7v1vnk79lt.fsf@alter.siamese.dyndns.org> On Mon, Aug 10, 2009 at 03:15, Junio C Hamano wrote: > Daniel Barkalow writes: > >> If this is set, the url is not required, and the transport always uses >> a helper named "git-remote-". >> >> It is a separate configuration option in order to allow a sensible >> configuration for foreign systems which either have no meaningful urls >> for repositories or which require urls that do not specify the system >> used by the repository at that location. However, this only affects >> how the name of the helper is determined, not anything about the >> interaction with the helper, and the contruction is such that, if the >> foreign scm does happen to use a co-named url method, a url with that >> method may be used directly. > > Personally, I do not like this. > > Why isn't it enough to define the canonical remote name git takes as > ":"? May I ask what will happen to these supported URL notations: o [user@]host.xz:/path/to/repo.git/ o [user@]host.xz:~user/path/to/repo.git/ o [user@]host.xz:path/to/repo.git this will bite you, if you have an ssh host alias named "". Bert