[PATCH] use local cloning if insteadOf makes a local URL

2014-07-17 Thread Michael Barabanov
Move the is_local logic to the place where origin remote has been setup and check if the remote url can be used to do local cloning. This saves a lot of space (and time) in some of the mirroring scenarios that involve insteadOf rewrites. Signed-off-by: Michael Barabanov

Re: [PATCH] use local cloning if insteadOf makes a local URL

2014-07-17 Thread Junio C Hamano
Michael Barabanov michael.baraba...@windriver.com writes: Move the is_local logic to the place where origin remote has been setup and check if the remote url can be used to do local cloning. This saves a lot of space (and time) in some of the mirroring scenarios that involve insteadOf

Re: [PATCH] use local cloning if insteadOf makes a local URL

2014-07-17 Thread Michael Barabanov
On 07/17/2014 10:23 AM, Junio C Hamano wrote: Michael Barabanov michael.baraba...@windriver.com writes: Move the is_local logic to the place where origin remote has been setup and check if the remote url can be used to do local cloning. This saves a lot of space (and time) in some of the