threads / discuss / 64307

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

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

## tl;dr

2 messages between Oct 13, 2025 and Oct 14, 2025.

replies: 1people: 2as markdown or json

Queen Jessa· Oct 13, 2025, 16:38 UTC · lore
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.”

I’ve gone through the “MyFirstContribution” guide and explored the codebase. 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.

Thank you for maintaining such a welcoming community. I’m looking forward to learning and contributing.

Best regards, Queen Ediri Jessa

Usman Akinyemi· Oct 14, 2025, 16:21 UTC · re: Queen Jessa · lore

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

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!
>

← back to recent threads