Re: [PATCH v5 2/4] t3427: accelerate this test by using fast-export and fast-import
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 3, 2019, 22:46 UTC
- Message-ID
- <xmqqftldroae.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <xmqqsgpdrs01.fsf@gitster-ct.c.googlers.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> Elijah Newren <newren@gmail.com> writes:
>
>> +extract_files_subtree () {
>> + git fast-export --no-data HEAD -- files_subtree/ |
>> + sed -e "s%\([0-9a-f]\{40\} \)files_subtree/%\1%" |
>> + git fast-import --force --quiet
>> +}This change has obvious interactions with Dscho's d51b771d ("t3427: move the `filter-branch` invocation into the `setup` case", 2019-07-31) that is still in flight, but in a good way. There only needs a single callsite for the above helper function after that step.
I think I'll discard this step from the "move us closer to deprecate filter-branch" topic, and ask you and Dscho to work together to have it or its moral equivalent included as part of js/rebase-r-strategy topic.
Thanks.