Re: [RFC/PATCH 5/6] Let transport_helper_init() decide if a remote helper program can be used
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Aug 12, 2009, 16:21 UTC
- Message-ID
- <alpine.LNX.2.00.0908121216570.27553@iabervon.org>
- In-Reply-To
- <20090812074658.GE15152@coredump.intra.peff.net>
On Wed, 12 Aug 2009, Jeff King wrote:
Show 14 quoted lines
> On Tue, Aug 11, 2009 at 07:28:19PM -0400, Daniel Barkalow wrote: > > > of 'Could not find (...) "git remote-master.kernel.org" (...)'? That > > would be certain to upset some people. I think we can assume that people's > > scheme parts of their URLs that are actually URLs don't contain '.', and > > that people with: > > > > url = master:something > > > > will append their domains if the warning gets annoying. > > Keep in mind that these URLs should be usable from the command-line, > too. So it is not just appending the domain in the config, but appending > it every time you want to do a one-off pull.
For that sort of thing, I think that url.*.insteadOf in your global config is the way to go. It applies before anything else, and can supply parts of the path as well as the hostname.
-Daniel *This .sig left intentionally blank*