On 18-Jul-2021, at 18:45, Christian Couder <christian.couder@xxxxxxxxx> wrote: > > On Sun, Jul 18, 2021 at 1:59 PM Atharva Raykar <raykar.ath@xxxxxxxxx> 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. Right, I have made a note of this. It does feel like the most plausible explanation, which I might look into after my update series is done. >> 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!