]> git.99rst.org Git - git.git/commit
submodule--helper: refactor module_clone()
authorAtharva Raykar <redacted>
Sat, 10 Jul 2021 07:48:00 +0000 (13:18 +0530)
committerJunio C Hamano <redacted>
Mon, 12 Jul 2021 19:06:21 +0000 (12:06 -0700)
commita98b02c11289879868dd0d5f80e894d8d01dc73b
tree62147d155c74143fa657f3c6fcaaed09ab7eb46c
parent0008d12284ef916b53341c2aadccdc017ff07c7a
submodule--helper: refactor module_clone()

Separate out the core logic of module_clone() from the flag
parsing---this way we can call the equivalent of the `submodule--helper
clone` subcommand directly within C, without needing to push arguments
in a strvec.

Signed-off-by: Atharva Raykar <redacted>
Mentored-by: Christian Couder <redacted>
Mentored-by: Shourya Shukla <redacted>
Suggested-by: Junio C Hamano <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/submodule--helper.c
git clone https://git.99rst.org/PROJECT