aboutsummaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-10-27 12:33:56 +0100
committerJunio C Hamano <gitster@pobox.com>2025-11-05 13:47:45 -0800
commit7c77c7c5f764738ee323e632f16faa2214adcf78 (patch)
treea992359219fcc22a6cd728d1d5ad844fc36dc63e /commit.h
parentadd-patch: split out `struct interactive_options` (diff)
downloadgit-7c77c7c5f764738ee323e632f16faa2214adcf78.tar.gz
git-7c77c7c5f764738ee323e632f16faa2214adcf78.zip
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 'commit.h')
0 files changed, 0 insertions, 0 deletions