Only two changes since v4: - Add missing trailers and s.o.b in [1/3] - In [3/3] introduce a wrapper function called 'config_submodule_in_gitmodules' that sets the 'submodule.<name>.<var>' configuration, and before doing so, checks if it is okay to write to '.gitmodules', which was the original behaviour of the shell version. Atharva Raykar (3): submodule--helper: refactor module_clone() submodule--helper: introduce add-clone subcommand submodule--helper: introduce add-config subcommand builtin/submodule--helper.c | 542 ++++++++++++++++++++++++++++-------- git-submodule.sh | 66 +---- 2 files changed, 431 insertions(+), 177 deletions(-) -- 2.31.1