Re: [PATCH v4 4/9] checkout.[ch]: introduce an *_INIT macro

2018-05-31 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > Add an *_INIT macro for the tracking_name_data similar to what exists > elsewhere in the codebase, e.g. OID_ARRAY_INIT in sha1-array.h. This > will make it more idiomatic in later changes to add more fields to the > struct & its initialization macro. Makes

[PATCH v4 4/9] checkout.[ch]: introduce an *_INIT macro

2018-05-31 Thread Ævar Arnfjörð Bjarmason
Add an *_INIT macro for the tracking_name_data similar to what exists elsewhere in the codebase, e.g. OID_ARRAY_INIT in sha1-array.h. This will make it more idiomatic in later changes to add more fields to the struct & its initialization macro. Signed-off-by: Ævar Arnfjörð Bjarmason ---