Re: [GSoC] Discussion of "Submodule related work" project
- From
Stefan Beller <sbeller@google.com>
- Date
- Mar 15, 2017, 20:48 UTC
- Message-ID
- <CAGZ79kZU555GyMNkuED2efep9oYAag_FJ7ETRPH2tvipLO9K4Q@mail.gmail.com>
- In-Reply-To
- <20170315204324.9875-1-me@vtolstov.org>
On Wed, Mar 15, 2017 at 1:43 PM, Valery Tolstov <me@vtolstov.org> 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.
Stefan