summaryrefslogtreecommitdiffstats
path: root/builtin/update-index.c
diff options
context:
space:
mode:
authorGlen Choo <chooglen@google.com>2022-03-08 01:14:28 +0100
committerJunio C Hamano <gitster@pobox.com>2022-03-08 01:51:03 +0100
commit1e5dd3a1114643ca43e3d83da4f5c44447f061ff (patch)
treee0f976e8016b84ccf93e8145add5d86f88c10680 /builtin/update-index.c
parentsubmodule: make static functions read submodules from commits (diff)
downloadgit-1e5dd3a1114643ca43e3d83da4f5c44447f061ff.tar.xz
git-1e5dd3a1114643ca43e3d83da4f5c44447f061ff.zip
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/update-index.c')
0 files changed, 0 insertions, 0 deletions