summaryrefslogtreecommitdiff
path: root/list-objects-filter-options.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2019-06-25 13:40:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-06-25 21:05:37 (GMT)
commitfa3d1b63e866d6b893934ab69da10b4516150cdc (patch)
tree1c2d2ea0f162fb34e10a9c46f97897768e029e97 /list-objects-filter-options.h
parentb14ed5adaf87c5943433fd6b1d2cbe8c060f9264 (diff)
downloadgit-fa3d1b63e866d6b893934ab69da10b4516150cdc.zip
git-fa3d1b63e866d6b893934ab69da10b4516150cdc.tar.gz
git-fa3d1b63e866d6b893934ab69da10b4516150cdc.tar.bz2
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 'list-objects-filter-options.h')
-rw-r--r--list-objects-filter-options.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/list-objects-filter-options.h b/list-objects-filter-options.h
index c54f000..8deaa28 100644
--- a/list-objects-filter-options.h
+++ b/list-objects-filter-options.h
@@ -87,6 +87,7 @@ void partial_clone_register(
const char *remote,
const struct list_objects_filter_options *filter_options);
void partial_clone_get_default_filter_spec(
- struct list_objects_filter_options *filter_options);
+ struct list_objects_filter_options *filter_options,
+ const char *remote);
#endif /* LIST_OBJECTS_FILTER_OPTIONS_H */