From fa3d1b63e866d6b893934ab69da10b4516150cdc Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Tue, 25 Jun 2019 15:40:32 +0200 Subject: promisor-remote: parse remote.*.partialclonefilter This makes it possible to specify a different partial clone filter for each promisor remote. Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- promisor-remote.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'promisor-remote.h') diff --git a/promisor-remote.h b/promisor-remote.h index dddd4048e0..838cb092f3 100644 --- a/promisor-remote.h +++ b/promisor-remote.h @@ -5,10 +5,13 @@ struct object_id; /* * Promisor remote linked list - * Its information come from remote.XXX config entries. + * + * Information in its fields come from remote.XXX config entries or + * from extensions.partialclone or core.partialclonefilter. */ struct promisor_remote { struct promisor_remote *next; + const char *partial_clone_filter; const char name[FLEX_ARRAY]; }; -- cgit v1.2.3