git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Valery Tolstov
Message 7 of 7 in “[GSoC] Discussion of "Submodule related work" project”
  1. Valery TolstovMar 10, 2017
  2. Stefan BellerMar 10, 2017
  3. Valery TolstovMar 10, 2017
  4. Valery TolstovMar 10, 2017
  5. Stefan BellerMar 13, 2017
  6. Valery TolstovMar 15, 2017
  7. Stefan BellerMar 15, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.