submodule--helper: introduce for_each_listed_submodule()
authorPrathamesh Chavan <redacted>
Fri, 6 Oct 2017 13:24:14 +0000 (18:54 +0530)
committerJunio C Hamano <redacted>
Sat, 7 Oct 2017 08:52:35 +0000 (17:52 +0900)
commit9f580a6260ab301916286fb6ca05f6613e9904e8
tree31c19b17b55f7206fcfb329178322f56c339a182
parent74a10642aa88c52ebb169489ea212a592d7bf3ce
submodule--helper: introduce for_each_listed_submodule()

Introduce function for_each_listed_submodule() and replace a loop
in module_init() with a call to it.

The new function will also be used in other parts of the
system in later patches.

Mentored-by: Christian Couder <redacted>
Mentored-by: Stefan Beller <redacted>
Signed-off-by: Prathamesh Chavan <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/submodule--helper.c
git clone https://git.99rst.org/PROJECT