Re: My Git Dev Blog - Week 9
- From
Atharva Raykar <raykar.ath@gmail.com>
- Date
- Jul 19, 2021, 08:57 UTC
- Message-ID
- <A644ECB8-E272-4EA9-9606-E13A36270C9D@gmail.com>
- In-Reply-To
- <CAP8UFD0NCQ5w_3GtT_xHr35i7h8BuLX4UcHNY6VHPGREmDVObA@mail.gmail.com>
On 18-Jul-2021, at 18:45, Christian Couder <christian.couder@gmail.com> wrote:
Show 21 quoted lines
> > 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! > >> 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!