diff options
author | Glen Choo <chooglen@google.com> | 2022-03-07 16:14:30 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-07 16:51:03 -0800 |
commit | 73bc90d7e19c471318e799624b6d4c6d449c655d (patch) | |
tree | 51a7e2eccfe47146fe967ab50df008c3c202ecb9 /credential.h | |
parent | submodule: store new submodule commits oid_array in a struct (diff) | |
download | tgif-73bc90d7e19c471318e799624b6d4c6d449c655d.tar.xz |
submodule: extract get_fetch_task()
get_next_submodule() configures the parallel submodule fetch by
performing two functions:
* iterate the index to find submodules
* configure the child processes to fetch the submodules found in the
previous step
Extract the index iterating code into an iterator function,
get_fetch_task(), so that get_next_submodule() is agnostic of how
to find submodules. This prepares for a subsequent commit will teach the
fetch machinery to also iterate through the list of changed
submodules (in addition to the index).
Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'credential.h')
0 files changed, 0 insertions, 0 deletions