🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.git
2 messages
2 total messages Started by Junio C Hamano Wed, 28 Oct 2026 20:40
Re: [PATCH 0/7] builtin/commit-graph: some small cleanups
#1770
Author: Junio C Hamano
Date: Wed, 28 Oct 2026 20:40
44 lines
14031 bytes
Patrick Steinhardt <ps@pks.im> writes:

> Hi,
>
> I'm working into the direction of making commit-graphs pluggable so that
> backends can fully control where exactly commit-graphs are written to
> and read from. This patch series contains a couple of small preliminary
> cleanups.
>
> Most of the patches are rather uncontroversial, I'd assume. The only
> one that might raise some eyebrows is where I "fix" git-commit-graph(1)
> to only accept "--object-directory=" for subcommands instead of both as
> a command-global and subcommand option. I feel like this is quite a weird
> outlier, and it got in my way. In any case, I'd appreciate some extra
> thoughts on this.
>
> Thanks!
>
> Patrick

I read the first 4 steps and they all looked sensible.  May come
back to the remainder later this week if nobody beats me to it.

Thanks.

>
> ---
> Patrick Steinhardt (7):
>       builtin/commit-graph: rename subcommand functions
>       builtin/commit-graph: drop declaration for `read_replace_refs`
>       builtin/commit-graph: get rid of `the_repository`
>       builtin/commit-graph: drop global "--object-dir=" switch
>       builtin/commit-graph: simplify how we wire up common options
>       builtin/commit-graph: de-globalize write options handling
>       builtin/commit-graph: de-globalize options handling
>
>  builtin/commit-graph.c | 131 +++++++++++++++++++++++++------------------------
>  1 file changed, 67 insertions(+), 64 deletions(-)
>
>
> ---
> base-commit: 37b3475fb530c14109211faca33716a173db61ed
> change-id: 20261028-pks-commit-graph-cleanups-d1dc30f3e05a
Re: [PATCH 0/7] builtin/commit-graph: some small cleanups
#1778
Author: Junio C Hamano
Date: Wed, 28 Oct 2026 21:28
20 lines
13056 bytes
Junio C Hamano <gitster@pobox.com> writes:

> I read the first 4 steps and they all looked sensible.  May come
> back to the remainder later this week if nobody beats me to it.
>
> Thanks.

As to the rest, quite honestly, [6/7] and [7/7] were "Meh", even
though I do not think they hurt [*].

All the rest looked good to me.


[Footnote]

 * Unless these things are lifted out of bulitin/* hierarchy, there
   is no strong reason to avoid relying on global variables or even
   the_repository.  Once we move things out of there to make them
   truly reusable, these things start to matter, but until then...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads