summaryrefslogtreecommitdiff
path: root/builtin/prune.c
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2022-03-07 16:14:28 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-07 16:51:03 -0800
commit1e5dd3a1114643ca43e3d83da4f5c44447f061ff (patch)
treee0f976e8016b84ccf93e8145add5d86f88c10680 /builtin/prune.c
parentsubmodule: make static functions read submodules from commits (diff)
downloadtgif-1e5dd3a1114643ca43e3d83da4f5c44447f061ff.tar.xz
submodule: inline submodule_commits() into caller
When collecting the string_list of changed submodule names, the new submodules commits are stored in the string_list_item.util as an oid_array. A subsequent commit will replace the oid_array with a struct that has more information. Prepare for this change by inlining submodule_commits() (which inserts into the string_list and initializes the string_list_item.util) into its only caller so that the code is easier to refactor later. Signed-off-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/prune.c')
0 files changed, 0 insertions, 0 deletions