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.