aboutsummaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-03-02 13:13:07 +0100
committerJunio C Hamano <gitster@pobox.com>2026-03-03 15:09:35 -0800
commitd51b61f5dab9c8e715fa792f31d572bc96fb5687 (patch)
tree7701cdad0be779bc40067a38d2f7769f5b30ecfc /builtin/commit.c
parente3d4d7787cc3b2f0281e808042ceaa08e05c281b (diff)
downloadgit-d51b61f5dab9c8e715fa792f31d572bc96fb5687.tar.xz
add-patch: remove dependency on "add-interactive" subsystem
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@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions