diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2020-12-16 17:50:32 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-18 23:56:40 +0300 |
commit | 3e9e82c0d897814d77cc755d25acb9df6e8bf48f (patch) | |
tree | 9101c31eed6a6f3e3cee89355f7abbc6876603f8 /convert.h | |
parent | 55b4ad0eada6924e5e59600266b5d50cbf22733d (diff) |
convert: add get_stream_filter_ca() variant
Like the previous patch, we will also need to call get_stream_filter()
with a precomputed `struct conv_attrs`, when we add support for parallel
checkout workers. So add the _ca() variant which takes the conversion
attributes struct as a parameter.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'convert.h')
-rw-r--r-- | convert.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -179,6 +179,8 @@ struct stream_filter; /* opaque */ struct stream_filter *get_stream_filter(const struct index_state *istate, const char *path, const struct object_id *); +struct stream_filter *get_stream_filter_ca(const struct conv_attrs *ca, + const struct object_id *oid); void free_stream_filter(struct stream_filter *); int is_null_stream_filter(struct stream_filter *); |