diff options
author | Christian Couder <christian.couder@gmail.com> | 2019-06-25 15:40:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-25 14:05:37 -0700 |
commit | fa3d1b63e866d6b893934ab69da10b4516150cdc (patch) | |
tree | 1c2d2ea0f162fb34e10a9c46f97897768e029e97 /promisor-remote.h | |
parent | b14ed5adaf87c5943433fd6b1d2cbe8c060f9264 (diff) | |
download | git-fa3d1b63e866d6b893934ab69da10b4516150cdc.tar.gz |
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>
Diffstat (limited to 'promisor-remote.h')
-rw-r--r-- | promisor-remote.h | 5 |
1 files changed, 4 insertions, 1 deletions
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]; }; |