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 <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
b14ed5adaf
commit
fa3d1b63e8
@ -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];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user