diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2017-12-08 15:58:45 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-08 09:58:51 -0800 |
commit | 1e1e39b308fe9dd68a3312992a06270da7dd07af (patch) | |
tree | ab256bec78ece5d78095e2a7e7f260a5699b67e1 /list-objects-filter-options.h | |
parent | acb0c57260aa78fc99939de2a27c48b5a3fb4f21 (diff) | |
download | git-1e1e39b308fe9dd68a3312992a06270da7dd07af.tar.gz |
partial-clone: define partial clone settings in config
Create get and set routines for "partial clone" config settings.
These will be used in a future commit by clone and fetch to
remember the promisor remote and the default filter-spec.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list-objects-filter-options.h')
-rw-r--r-- | list-objects-filter-options.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/list-objects-filter-options.h b/list-objects-filter-options.h index eea44a1a51..11435392c2 100644 --- a/list-objects-filter-options.h +++ b/list-objects-filter-options.h @@ -58,4 +58,10 @@ int opt_parse_list_objects_filter(const struct option *opt, void list_objects_filter_release( struct list_objects_filter_options *filter_options); +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); + #endif /* LIST_OBJECTS_FILTER_OPTIONS_H */ |