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

Re: [GSoC] Blog: Refactoring in order to reduce Git’s global state

From
Ayush Chandekar <ayu.chandekar@gmail.com>
Date
Jun 25, 2025, 15:14 UTC
Message-ID
<CAE7as+bTKE5opov-Xn0P8R+cy+=-XRkX9Wpie_W0717XMF1b_w@mail.gmail.com>
In-Reply-To
<3079AF5C-CB54-4674-AF5C-24CDEF3854B9@gmail.com>
Show 10 quoted lines
>
> I see that you want to get rid of some usages of 'the_repository'. I don't know
> if it is in the scope of your project, but something that would help me in my
> GSoC project is making the function is_bare_repository (environment.c) not
> dependent of 'the_repository'.
>
> More info here: https://lore.kernel.org/git/xmqq7c1genyp.fsf@gitster.g/
>
> Thanks!
>

Yes, this is related to the scope of my project. I've had a look at the `is_bare_repository_cfg` variable, along with the related functions and flow. At the moment, I'm occupied with a few patches that I need to finish first. Once I've cleared those, I can revisit this and try to get a better sense of how practical it is.

Thanks:)
Previous: Lucas Seiki Oshiro
Message 3 of 3 in “[GSoC] Blog: Refactoring in order to reduce Git’s global state”
  1. Ayush ChandekarJun 19, 2025
  2. Lucas Seiki OshiroJun 19, 2025
  3. Ayush ChandekarJun 25, 2025

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.