Christian Couder b14ed5adaf Use promisor_remote_get_direct() and has_promisor_remote()
Instead of using the repository_format_partial_clone global
and fetch_objects() directly, let's use has_promisor_remote()
and promisor_remote_get_direct().

This way all the configured promisor remotes will be taken
into account, not only the one specified by
extensions.partialClone.

Also when cloning or fetching using a partial clone filter,
remote.origin.promisor will be set to "true" instead of
setting extensions.partialClone to "origin". This makes it
possible to use many promisor remote just by fetching from
them.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-06-25 14:05:37 -07:00
..
2019-06-17 10:15:15 -07:00
2019-04-25 16:41:14 +09:00
2019-01-29 12:47:54 -08:00
2019-04-25 16:41:12 +09:00
2019-05-19 16:45:35 +09:00
2018-10-19 13:34:02 +09:00
2019-03-20 15:16:06 +09:00
2019-02-06 22:05:23 -08:00
2019-02-06 22:05:23 -08:00
2019-05-13 14:22:54 +09:00
2019-01-18 13:49:52 -08:00
2019-06-13 13:19:40 -07:00
2019-05-19 16:45:26 +09:00