summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorGlen Choo <chooglen@google.com>2022-03-07 16:14:28 -0800
committerJunio C Hamano <gitster@pobox.com>2022-03-07 16:51:03 -0800
commit1e5dd3a1114643ca43e3d83da4f5c44447f061ff (patch)
treee0f976e8016b84ccf93e8145add5d86f88c10680 /commit.c
parent7c2f8cc58cc3648a0e1e4c76be15a09114b4d9dd (diff)
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 'commit.c')
0 files changed, 0 insertions, 0 deletions