Re: My Git Dev Blog - Week 9
From: Christian Couder <hidden>
Date: 2021-07-18 13:15:49
On Sun, Jul 18, 2021 at 1:59 PM Atharva Raykar [off-list ref] wrote:
Here's my latest blog post: https://atharvaraykar.me/gitnotes/week9
Great!
A part that may be interesting to list readers: - In one section of the blog, I describe the problem of the git submodule configuration not updating properly, when I launch a subprocess that first initialises the submodule. I will appreciate it if someone has a possible explanation for the issue I faced at: https://atharvaraykar.me/gitnotes/week9#launching-the-init-part-as-a-subprocess
My wild guess about why is_submodule_active() might not be working as expected is that submodule_from_path() uses the submodule cache which might not be properly updated when a submodule is initialized by a subprocess.
The rest of the post talks about my project progress so far, and how I avoided the above problem entirely for now by taking a different approach.
Nice that you found a possible better way!