Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-09-20 00:35:24 +0300
committerJunio C Hamano <gitster@pobox.com>2022-09-20 00:35:24 +0300
commit298a9582249255fe00660a78dba0bb0ef0e1dbe8 (patch)
treeb8abd825bb52a214a901553078b17634147ac826 /upload-pack.c
parentf876b5a6868faa69a3d12aa59d65c5af37a91ff3 (diff)
parentc54980ab83661e8e290003fbd5ab44b12e4e77b1 (diff)
Merge branch 'jk/list-objects-filter-cleanup'
A couple of bugfixes with code clean-up. * jk/list-objects-filter-cleanup: list-objects-filter: convert filter_spec to a strbuf list-objects-filter: add and use initializers list-objects-filter: handle null default filter spec list-objects-filter: don't memset after releasing filter struct
Diffstat (limited to 'upload-pack.c')
-rw-r--r--upload-pack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/upload-pack.c b/upload-pack.c
index abf2c11cfe..0b8311bd68 100644
--- a/upload-pack.c
+++ b/upload-pack.c
@@ -141,6 +141,7 @@ static void upload_pack_data_init(struct upload_pack_data *data)
data->allow_filter_fallback = 1;
data->tree_filter_max_depth = ULONG_MAX;
packet_writer_init(&data->writer, 1);
+ list_objects_filter_init(&data->filter_options);
data->keepalive = 5;
data->advertise_sid = 0;