summaryrefslogtreecommitdiff
path: root/line-range.c
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2022-03-07 16:14:29 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-07 16:51:03 -0800
commit6e1e0c9959f1df4b8c5aafb69d149374720b26dc (patch)
tree01c5316d717b3893ec6402acfb2411b8c49d847a /line-range.c
parentsubmodule: inline submodule_commits() into caller (diff)
downloadtgif-6e1e0c9959f1df4b8c5aafb69d149374720b26dc.tar.xz
submodule: store new submodule commits oid_array in a struct
This commit prepares for a future commit that will teach `git fetch --recurse-submodules` how to fetch submodules that are present in <gitdir>/modules, but are not populated. To do this, we need to store more information about the changed submodule so that we can read the submodule configuration from the superproject commit instead of the filesystem. Refactor the changed submodules string_list.util to hold a struct instead of an oid_array. This struct only holds the new_commits oid_array for now; more information will be added later. Signed-off-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-range.c')
0 files changed, 0 insertions, 0 deletions