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

Re: [GSoC] My Git Dev Blog – Week 8

From
Christian Couder <christian.couder@gmail.com>
Date
Jul 18, 2021, 09:26 UTC
Message-ID
<CAP8UFD1bGm8r_M9_gLEtSf3EAKseHySJWhMOoJjGO4xy6R2+9Q@mail.gmail.com>
In-Reply-To
<D3F13902-A7DD-4186-8444-45FD9260CBC8@gmail.com>
On Tue, Jul 13, 2021 at 10:46 AM Atharva Raykar <raykar.ath@gmail.com> wrote:
>
> On 13-Jul-2021, at 13:48, Kaartic Sivaraam <kaartic.sivaraam@gmail.com> wrote:
Show 11 quoted lines
> > ... Alternatively, you could explore how other sub-commands
> > handle recursing into submodules. To me it looks like they handle it by spawning
> > a sub-process is likely the easiest approach for achieving recursion. That would
> > solve the super-prefix problem as you have observed.
>
> Yes, I was hoping I would not have to spawn a subprocess for recursing on
> update, and it does look theoretically possible--it would require changing
> a lot of of existing code to use functions taking a repository objects
> rather than assuming 'the_repository'. But since that was outside the scope
> of my project, I did it like the other implementations that spawned a new
> process for the recursion of 'update'.

Yeah, it's definitely outside the scope of your project. So it's ok to spawn a new process.

Previous: Atharva RaykarNext: Kaartic Sivaraam
Message 4 of 6 in “[GSoC] My Git Dev Blog – Week 8”
  1. Atharva RaykarJul 11, 2021
  2. Kaartic SivaraamJul 13, 2021
  3. Atharva RaykarJul 13, 2021
  4. Christian CouderJul 18, 2021
  5. Kaartic SivaraamJul 18, 2021
  6. Atharva RaykarJul 19, 2021

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.