]> git.ipfire.org Git - thirdparty/git.git/commit
promisor-remote: remove the 'accepted' strvec
authorChristian Couder <christian.couder@gmail.com>
Tue, 7 Apr 2026 11:52:42 +0000 (13:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Apr 2026 15:45:44 +0000 (08:45 -0700)
commitd56e483b03bfe46340af5cdbcddec8858661d2e9
tree1d90f45d6be0e06339545d10ce69cf47d265f917
parente0f80d8876960442dd2645215c4fe5e1b1d80fc3
promisor-remote: remove the 'accepted' strvec

In a previous commit, filter_promisor_remote() was refactored to keep
accepted 'struct promisor_info' instances alive instead of dismantling
them into separate parallel data structures.

Let's go one step further and replace the 'struct strvec *accepted'
argument passed to filter_promisor_remote() with a
'struct string_list *accepted_remotes' argument.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
promisor-remote.c