Re: My Git Dev Blog - Week 9
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Jul 18, 2021, 13:15 UTC
- Message-ID
- <CAP8UFD0NCQ5w_3GtT_xHr35i7h8BuLX4UcHNY6VHPGREmDVObA@mail.gmail.com>
- In-Reply-To
- <ED260A04-153A-46D5-8A84-CF517085DEC9@gmail.com>
On Sun, Jul 18, 2021 at 1:59 PM Atharva Raykar <raykar.ath@gmail.com> wrote:
> > Here's my latest blog post: > https://atharvaraykar.me/gitnotes/week9
Great!
Show 8 quoted lines
> 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!