diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2017-12-08 18:58:50 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-08 20:58:52 +0300 |
commit | aa57b871dad3cca07abead9a8d1fefceffe7578d (patch) | |
tree | eb45a434cb5a253a5c8bb3ed63b1f9c0910891e5 /list-objects-filter-options.c | |
parent | 35a7ae952ffee0d47d4f6302163488abea3bf418 (diff) |
fetch: inherit filter-spec from partial clone
Teach (partial) fetch to inherit the filter-spec used by
the partial clone. Extend --no-filter to override this
inheritance.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list-objects-filter-options.c')
-rw-r--r-- | list-objects-filter-options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/list-objects-filter-options.c b/list-objects-filter-options.c index 5c47e2b002..6a3cc985c4 100644 --- a/list-objects-filter-options.c +++ b/list-objects-filter-options.c @@ -94,7 +94,7 @@ int opt_parse_list_objects_filter(const struct option *opt, struct list_objects_filter_options *filter_options = opt->value; if (unset || !arg) { - list_objects_filter_release(filter_options); + list_objects_filter_set_no_filter(filter_options); return 0; } |