Thread (3 messages) 3 messages, 2 authors, 2025-06-25

Re: [GSoC] Blog: Refactoring in order to reduce Git’s global state

From: Ayush Chandekar <hidden>
Date: 2025-06-25 15:14:17

I see that you want to get rid of some usages of 'the_repository'. I don't know
if it is in the scope of your project, but something that would help me in my
GSoC project is making the function is_bare_repository (environment.c) not
dependent of 'the_repository'.

More info here: https://lore.kernel.org/git/xmqq7c1genyp.fsf@gitster.g/ (local)

Thanks!
Yes, this is related to the scope of my project.
I've had a look at the `is_bare_repository_cfg` variable, along with
the related functions and flow. At the moment, I'm occupied with a few
patches that I need to finish first. Once I've cleared those, I can
revisit this and try to get a better sense of how practical it is.

Thanks:)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help