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>
This commit is contained in:

committed by
Junio C Hamano

parent
55b4ad0ead
commit
3e9e82c0d8
@ -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 *);
|
||||
|
||||
|
Reference in New Issue
Block a user