Patrick Steinhardt <ps@xxxxxx> 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 <ps@xxxxxx> > --- > 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.