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

Re: (Outreachy) Introduction and plan to start work on “Reduce Git’s global state” project

From
Usman Akinyemi <usmanakinyemi202@gmail.com>
Date
Oct 14, 2025, 16:21 UTC
Message-ID
<CAPSxiM8FsjRb=NqtjWagROSC3Gn9iSx=cfnuo0YO2T+jPNeBUw@mail.gmail.com>
In-Reply-To
<CALrKrsRS3ezovHJsPQqeUb=3=uQ65pkxczP35UFnNd4WtXnv8A@mail.gmail.com>
On Mon, Oct 13, 2025 at 10:37 PM Queen Jessa <queenjessa34@gmail.com> wrote:
Show 5 quoted lines
>
> Hello Everyone,
>
> My name is Queen Ediri Jessa, and I’m an Outreachy applicant interested in the
> project “Refactor in order to reduce Git’s global state.”
Hello Queen,
>
> I’ve gone through the “MyFirstContribution” guide and explored the codebase.
Good.
Show 8 quoted lines
> As a starting point, I plan to work on a small refactor that replaces a direct
> use of the `the_repository` global variable with a function parameter
> (`struct repository *repo`) in one of the related source files.
>
> This will help me get familiar with Git’s development workflow and contribute
> incrementally toward reducing global state. Please let me know if anyone is
> already working on a similar change, or if there’s a specific file you’d
> recommend I start from.

There are lots of files with Global variables, so your work would most likely not affect others. As a starting point, you might want to look into any file in builtin/. You can also look at previous patches around the same issue for reference. One is this [1].

You can also go through [2] to see previous microprojects done by past
 GSoC/Outreachy
interns which might be easier to approach than the above.
>
> Thank you for maintaining such a welcoming community.
> I’m looking forward to learning and contributing.
>

[1]: https://public-inbox.org/git/20250318115912.2978992-7-usmanakinyemi202@gmail.com/ [2]: https://git.github.io/SoC-2025-Microprojects/

> Best regards,
> Queen Ediri Jessa
Thanks for your interest in contributing to Git!
>
Previous: Queen Jessa
Message 2 of 2 in “(Outreachy) Introduction and plan to start work on “Reduce Git’s global state” project”
  1. Queen JessaOct 13, 2025
  2. Usman AkinyemiOct 14, 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.