From 640d8b72feaae0b96d5faa663ad624963e416d54 Mon Sep 17 00:00:00 2001 From: Jeff Hostetler Date: Fri, 8 Dec 2017 15:58:40 +0000 Subject: fetch-pack, index-pack, transport: partial clone Signed-off-by: Jeff Hostetler Signed-off-by: Junio C Hamano --- transport.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'transport.h') diff --git a/transport.h b/transport.h index c49a8edc53..31b1936f8c 100644 --- a/transport.h +++ b/transport.h @@ -4,6 +4,7 @@ #include "cache.h" #include "run-command.h" #include "remote.h" +#include "list-objects-filter-options.h" struct string_list; @@ -23,6 +24,7 @@ struct git_transport_options { const char *uploadpack; const char *receivepack; struct push_cas_option *cas; + struct list_objects_filter_options filter_options; }; enum transport_family { @@ -221,6 +223,9 @@ void transport_check_allowed(const char *type); */ #define TRANS_OPT_NO_DEPENDENTS "no-dependents" +/* Filter objects for partial clone and fetch */ +#define TRANS_OPT_LIST_OBJECTS_FILTER "filter" + /** * Returns 0 if the option was used, non-zero otherwise. Prints a * message to stderr if the option is not used. -- cgit v1.2.3