diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-10-27 12:33:56 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-05 13:47:45 -0800 |
| commit | 7c77c7c5f764738ee323e632f16faa2214adcf78 (patch) | |
| tree | a992359219fcc22a6cd728d1d5ad844fc36dc63e /builtin/commit.c | |
| parent | add-patch: split out `struct interactive_options` (diff) | |
| download | git-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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
