summaryrefslogtreecommitdiff
path: root/promisor-remote.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2019-06-25 15:40:32 +0200
committerJunio C Hamano <gitster@pobox.com>2019-06-25 14:05:37 -0700
commitfa3d1b63e866d6b893934ab69da10b4516150cdc (patch)
tree1c2d2ea0f162fb34e10a9c46f97897768e029e97 /promisor-remote.h
parentb14ed5adaf87c5943433fd6b1d2cbe8c060f9264 (diff)
downloadgit-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.h5
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];
};