git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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!
Previous: Christian CouderNext: Kaartic Sivaraam
Message 3 of 8 in “My Git Dev Blog - Week 9”
  1. Atharva RaykarJul 18, 2021
  2. Christian CouderJul 18, 2021
  3. Atharva RaykarJul 19, 2021
  4. Kaartic SivaraamJul 18, 2021
  5. Kaartic SivaraamJul 19, 2021
  6. Atharva RaykarJul 19, 2021
  7. Bagas SanjayaJul 19, 2021
  8. Atharva RaykarJul 19, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.