diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-09-19 23:35:24 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-09-19 23:35:24 +0200 |
commit | 298a9582249255fe00660a78dba0bb0ef0e1dbe8 (patch) | |
tree | b8abd825bb52a214a901553078b17634147ac826 /upload-pack.c | |
parent | Merge branch 'zh/ls-files-format' (diff) | |
parent | list-objects-filter: convert filter_spec to a strbuf (diff) | |
download | git-298a9582249255fe00660a78dba0bb0ef0e1dbe8.tar.xz git-298a9582249255fe00660a78dba0bb0ef0e1dbe8.zip |
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.c | 1 |
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; |