]> git.ipfire.org Git - thirdparty/git.git/commit - convert.h
convert: add classification for conv_attrs struct
authorJeff Hostetler <jeffhost@microsoft.com>
Wed, 16 Dec 2020 14:50:33 +0000 (11:50 -0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Mar 2021 20:56:40 +0000 (13:56 -0700)
commitf59d15bb420b649a6ee3163a3418aac6b813d331
treef10b9442da02b7e21a1969648d067485a6d0fb3b
parent3e9e82c0d897814d77cc755d25acb9df6e8bf48f
convert: add classification for conv_attrs struct

Create `enum conv_attrs_classification` to express the different ways
that attributes are handled for a blob during checkout.

This will be used in a later commit when deciding whether to add a file
to the parallel or delayed queue during checkout. For now, we can also
use it in get_stream_filter_ca() to simplify the function (as the
classifying logic is the same).

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