]> git.ipfire.org Git - thirdparty/git.git/commit
add-interactive: stop using `the_repository`
authorPatrick Steinhardt <ps@pks.im>
Tue, 17 Dec 2024 06:43:59 +0000 (07:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Dec 2024 18:44:31 +0000 (10:44 -0800)
commit1b374ad71f702cd13f7395ccff54d5c4ee604b98
treec9c6e94ffa35f810b43765b02bfab93aeabe5179
parent727c71a1121c2067223aad8d187409c9822a3f8d
add-interactive: stop using `the_repository`

Stop using `the_repository` in the "add-interactive" subsystem by
reusing the repository we already have available via parameters or in
the `add_i_state` structure.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-interactive.c