Re: [GSoC] Discussion of "Submodule related work" project
- Date: Wed, 15 Mar 2017 13:48:41 -0700
- From: Stefan Beller <sbeller@xxxxxxxxxx>
- Subject: Re: [GSoC] Discussion of "Submodule related work" project
On Wed, Mar 15, 2017 at 1:43 PM, Valery Tolstov <me@xxxxxxxxxxxx> wrote:
> I have a thought. At the moment when submodule command is already translated
> to C, possibly we want to rename submodule--helper.c, and maybe hide
> some of it's functions from subcommands list. Is there any examples of
> similar situation that already happened before?
I would keep the submodule--helper around as it is
and maybe even promote it to be a "plumbing" command.
Currently it is just an undocumented, internal command.
Once all commands in git-submodule.sh are translated to C
(when they all look similar to "git submodule init", which
is just a relay in the shell script), then we can make a full grown
builtin/submodule.c that calls the functions of the submodule--helper
directly in C.