[GSoC] [PATCH 0/2] submodule--helper: introduce subcommands for sh to C conversion
- From
Atharva Raykar <raykar.ath@gmail.com>
- Date
- Jun 5, 2021, 11:39 UTC
- Message-ID
- <20210605113913.29005-1-raykar.ath@gmail.com>
This patch series introduces the `add clone` and `add config` subcommands in `git submodule--helper` with the goal of converting part of the shell code in `git-submodule.sh` related to `git submodule add` into C code.
The first patch [1/2] has already been sent to the mailing list before: https://lore.kernel.org/git/20210604110524.84326-1-raykar.ath@gmail.com/ No changes have been made to it since then.
Because patch [2/2] depends on changes introduced in [1/2] I am sending them together as a series.
The eventual goal is to replace all of the shell code with equivalent C code. Subsequent patches will replace all of shell the code past the flag parsing of `cmd_add()` into a single call to subcommand `submodule--helper add` which will make use of the functions introduced in these two patches.
Link to hosted Git repository for containing these patches: https://github.com/tfidfwastaken/git/commits/submodule-add-in-c
Atharva Raykar (2): submodule--helper: introduce add-clone subcommand submodule--helper: introduce add-config subcommand
builtin/submodule--helper.c | 312 ++++++++++++++++++++++++++++++++++++ git-submodule.sh | 66 +------- 2 files changed, 314 insertions(+), 64 deletions(-)
-- 2.31.1