]> git.ipfire.org Git - thirdparty/git.git/commit - convert.c
convert: split start_multi_file_filter() into two separate functions
authorBen Peart <peartben@gmail.com>
Fri, 5 May 2017 15:27:57 +0000 (11:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 May 2017 04:01:57 +0000 (13:01 +0900)
commita810ea9945d5959b6cf73d117bc0f20fde58c556
tree5c74dc971406001883c3527f058d7e6a83b6dd9e
parent7e936842f54c98eb41fb46c94da417065fe333f5
convert: split start_multi_file_filter() into two separate functions

To enable future reuse of the filter.<driver>.process infrastructure,
split start_multi_file_filter() into two separate parts.

start_multi_file_filter() will now only contain the generic logic to
manage the creation and tracking of the child process in a hashmap.

start_multi_file_filter_fn() is a protocol specific initialization
function that will negotiate the multi-file-filter interface version
and capabilities.

Signed-off-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
convert.c