Commit 1e5dd3a
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 7c2f8cc commit 1e5dd3a
1 file changed
+6
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | 785 | | |
799 | 786 | | |
800 | 787 | | |
| |||
830 | 817 | | |
831 | 818 | | |
832 | 819 | | |
833 | | - | |
834 | 820 | | |
835 | 821 | | |
| 822 | + | |
836 | 823 | | |
837 | 824 | | |
838 | 825 | | |
| |||
859 | 846 | | |
860 | 847 | | |
861 | 848 | | |
862 | | - | |
863 | | - | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
864 | 854 | | |
865 | 855 | | |
866 | 856 | | |
| |||
0 commit comments