Subject: Re: [PATCH RFC v2 12/16] add-patch: remove dependency on "add-interactive" subsystem

From: Junio C Hamano <[email-masked]>
Date: Mon, 25 Aug 2025 09:43:41 -0700

Patrick Steinhardt <[email-masked]> writes:

> With the preceding commit we have split out interactive configuration
> that is used by both "git add -p" and "git add -i". But we still
> initialize that configuration in the "add -p" subsystem by calling
> `init_add_i_state()`, even though we only do so to initialize the
> interactive configuration as well as a repository pointer.
>
> Stop doing so and instead store and initialize the interactive
> configuration in `struct add_p_state` directly.
>
> Signed-off-by: Patrick Steinhardt <[email-masked]>
> ---
>  add-patch.c | 68 ++++++++++++++++++++++++++++++++-----------------------------
>  1 file changed, 36 insertions(+), 32 deletions(-)

Ahh, with the two steps, this and the previous one, my question is
answered.  I like the shape of the code base at this step very much.