summaryrefslogtreecommitdiff
path: root/Documentation/pull-fetch-param.txt
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2022-03-07 16:14:31 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-07 16:51:03 -0800
commit5370b91f3fae9d7a511e23142b55082200152cef (patch)
tree940a83f040537eff915348358645a5db52570786 /Documentation/pull-fetch-param.txt
parentsubmodule: extract get_fetch_task() (diff)
downloadtgif-5370b91f3fae9d7a511e23142b55082200152cef.tar.xz
submodule: move logic into fetch_task_create()
get_fetch_task() gets a fetch task by iterating the index; a future commit will introduce a similar function, get_fetch_task_from_changed(), that gets a fetch task from the list of changed submodules. Both functions are similar in that they need to: * create a fetch task * initialize the submodule repo for the fetch task * determine the default recursion mode Move all of this logic into fetch_task_create() so that it is no longer split between fetch_task_create() and get_fetch_task(). This will make it easier to share code with get_fetch_task_from_changed(). Signed-off-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/pull-fetch-param.txt')
0 files changed, 0 insertions, 0 deletions