[PATCH v2] filter-branch: skip commits present on --state-branch

2018-06-25 Thread Michael Barabanov
The commits in state:filter.map have already been processed, so don't filter them again. This makes incremental git filter-branch much faster. Also add tests for --state-branch option. Signed-off-by: Michael Barabanov --- git-filter-branch.sh | 1 + t/t7003-filter-branch.sh

[PATCH] filter-branch: skip commits present on --state-branch

2018-06-22 Thread Michael Barabanov
The commits in state:filter.map have already been processed, so don't filter them again. This makes incremental git filter-branch much faster. Also add tests for --state-branch option. Signed-off-by: Michael Barabanov --- git-filter-branch.sh | 3 +++ t/t7003-filter-branch.sh

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 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

[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 --- builtin/clone.c