{"thread":{"id":"64433","subject":"Outreachy Proposal: Refactor Git to reduce global state","startedAt":"2025-11-04T13:46:39Z","lastAt":"2025-11-05T11:12:22Z","messageCount":2,"participants":["Queen Ediri Jessa","Usman Akinyemi"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"530189","messageId":"CA+JX8FoKKB8LrCbPgXgiqSLvtpk=HBsxCcZAW2M_Y1-Of48Y+Q@mail.gmail.com","threadId":"64433","inReplyTo":null,"subject":"Outreachy Proposal: Refactor Git to reduce global state","fromName":"Queen Ediri Jessa","fromEmail":"qjessa662@gmail.com","sentAt":"2025-11-04T13:46:26Z","receivedAt":"2025-11-04T13:46:39Z","isPatch":false,"sender":{"key":"qjessa662@gmail.com","avatar":"https://avatars.githubusercontent.com/u/233464585?v=4"},"body":"Hello mentors,\n\nI’m submitting my Outreachy internship proposal for the project\n“Refactor Git to reduce global state.” This proposal outlines my plan\nfor the 12-week internship, including my understanding of the project\ngoals, proposed approach, and weekly milestones. I’d appreciate your\nfeedback and approval so I can begin preparations accordingly.\n\n\nProject Title:\nRefactor Git to Reduce Global State\n\nOverview\nThe goal of this project is to identify and refactor areas of Git’s\ncodebase that rely heavily on global variables, converting them to\nlocalized or function-specific scopes where possible. Reducing Git’s\nglobal state improves code modularity, enhances testability, and\nreduces side effects across different modules.\n\n\nObjectives\n- Study the current usage of global variables within Git’s codebase.\n- Identify opportunities to move global variables to local or function scopes.\n- Implement refactoring strategies in small, reviewable patches.\n- Submit, discuss, and iterate on patches through the Git mailing list.\n- Improve maintainability and test coverage of affected modules.\n\n\n12-Weeks Work Plan\n\nWeek 1 – 2:\n• Study the codebase and related documentation.\n• Review previous contributions related to global variable refactoring.\n• Understand how recent global-to-local transitions were implemented.\n\nWeek 3 – 4:\n• Identify specific global variables that can be localized.\n• Map their dependencies and understand potential side effects.\n• Draft a clear plan for refactoring each variable.\n\nWeek 5 – 6:\n• Begin implementing small refactors, moving selected global variables\nto local scope.\n• Test and verify correctness through existing Git test suites.\n• Prepare initial patches for submission.\n\nWeek 7 – 8:\n• Submit patches to the mailing list for review.\n• Gather mentor and community feedback.\n• Address review comments and refine changes.\n\nWeek 9 – 10:\n• Continue refactoring additional variables or modules as agreed with mentors.\n• Update documentation if necessary to reflect internal changes.\n• Maintain consistent communication on progress.\n\nWeek 11 – 12:\n• Finalize pending patches and ensure smooth integration.\n• Conduct a review of refactored modules to confirm expected behavior.\n• Document key learnings and results.\n• Prepare a final summary report and presentation\n\nExpected Outcomes\nBy the end of this internship, Git will have reduced dependency on\nglobal variables, resulting in cleaner, more modular, and maintainable\ncode. The project will also provide a clearer path for future\ncontributors to continue reducing global state across the codebase.\n\n\nThank you for reviewing my proposal. I'm looking forward to hearing\nyour feedback and guidance.\n\nBest regards,\nQueen Ediri Jessa\nEmail: qjessa662@gmail.com\nGitHub: [https://github.com/QueenJcloud](https://github.com/QueenJcloud)\n"},{"id":"530238","messageId":"CAPSxiM9wOuzW-Qc0dagsHNjFh4Hj7Hd0yq_G_wA6Gm3-Vr3Xmw@mail.gmail.com","threadId":"64433","inReplyTo":"CA+JX8FoKKB8LrCbPgXgiqSLvtpk=HBsxCcZAW2M_Y1-Of48Y+Q@mail.gmail.com","subject":"Re: Outreachy Proposal: Refactor Git to reduce global state","fromName":"Usman Akinyemi","fromEmail":"usmanakinyemi202@gmail.com","sentAt":"2025-11-05T11:12:09Z","receivedAt":"2025-11-05T11:12:22Z","isPatch":false,"sender":{"key":"usmanakinyemi202@gmail.com","avatar":"https://avatars.githubusercontent.com/u/86585626?v=4"},"body":"Acked.\n"}]}