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

Re: [GSoC Draft Proposal] Refactoring in order to reduce Git's global state

From
Burak Kaan Karaçay <bkkaracay@gmail.com>
Date
Mar 11, 2026, 18:34 UTC
Message-ID
<abGhquQz_mxK_Ow8@gmail.com>
In-Reply-To
<CAP8UFD391QPtk3Mtt5z17ivdVMk9EEWZuKhVtt7X9Twm7WTpRg@mail.gmail.com>
On Mon, Mar 09, 2026 at 04:17:20PM +0100, Christian Couder wrote:
>I didn't talk about it earlier, but I am not sure using 'enum
>git_error_code' all over the codebase would be a good idea. Perhaps a
>few functions would benefit from that, but then the enum could be
>specific for these functions.

I understand your point. I have also noticed the use of function-specific enums for error returns in the codebase, which makes a lot of sense. Because of this, I plan to remove the part about introducing a global git_error_code from the proposal. Thanks for pointing this out.

I have also noted your other suggestions regarding Olamide's work and the commit hashes. I will apply them in the next version of the proposal.

Thanks for your time and guidance, it is really helpful.
Previous: Christian CouderNext: Burak Kaan Karaçay
Message 3 of 4 in “[GSoC Draft Proposal] Refactoring in order to reduce Git's global state”
  1. Burak Kaan KaraçayMar 8, 2026
  2. Christian CouderMar 9, 2026
  3. Burak Kaan KaraçayMar 11, 2026
  4. [GSoC Draft Proposal v2] Refactoring in order to reduce Git's global stateBurak Kaan Karaçay, Mar 15, 2026

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.