filter-branch: skip commits present on --state-branch
authorMichael Barabanov <redacted>
Tue, 26 Jun 2018 04:07:33 +0000 (21:07 -0700)
committerJunio C Hamano <redacted>
Tue, 26 Jun 2018 22:44:53 +0000 (15:44 -0700)
commit709cfe848ad2312f80e6f4f7a27aa5d23992a0e3
treecf3aea0991e10ca1bc2fd058b2b49a98e454056c
parentfc54c1af3ec09bab8b8ea09768c2da4069b7f53e
filter-branch: skip commits present on --state-branch

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 <redacted>
Acked-by: Ian Campbell <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-filter-branch.sh
t/t7003-filter-branch.sh
git clone https://git.99rst.org/PROJECT