Thread (6 messages) flat view 6 messages, 3 authors, 2021-07-19

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

From: Christian Couder <hidden>
Date: 2021-07-18 09:27:11

On Tue, Jul 13, 2021 at 10:46 AM Atharva Raykar [off-list ref] wrote:
On 13-Jul-2021, at 13:48, Kaartic Sivaraam [off-list ref] wrote:
quoted
... 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help