]> git.ipfire.org Git - thirdparty/git.git/commit
setup: embed repository format in discovery
authorPatrick Steinhardt <ps@pks.im>
Tue, 7 Jul 2026 07:21:25 +0000 (09:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Jul 2026 17:49:40 +0000 (10:49 -0700)
commitabe894164f8b8f4acd6a20c738bfca7867db0608
tree789c2ac060a1d7f79d2342a55d16178f50b21176
parentd66975fa06823493a3343431a36ebffbe6253424
setup: embed repository format in discovery

All functions related to repository discovery receive both a `struct
repository_discovery` and `struct repository_format` as input, and the
expectation is that both will be populated. Refactor this so that the
repository format is part of the discovery result.

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