convert: make convert_attrs() and convert structs public
commit38e95844e8f9bfefb34443650e99f740581a394b
authorJeff Hostetler <jeffhost@microsoft.com>
Wed, 16 Dec 2020 14:50:30 +0000 (16 11:50 -0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Mar 2021 20:56:40 +0000 (18 13:56 -0700)
tree84dbef256620114336c98e7b99951f8b25a4a5e9
parenta5828ae6b52137b913b978e16cd2334482eb4c1f
convert: make convert_attrs() and convert structs public

Move convert_attrs() declaration from convert.c to convert.h, together
with the conv_attrs struct and the crlf_action enum. This function and
the data structures will be used outside convert.c in the upcoming
parallel checkout implementation. Note that crlf_action is renamed to
convert_crlf_action, which is more appropriate for the global namespace.

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>
convert.c
convert.h