checkout.c: introduce an *_INIT macro
commite417151b24bcf1277a48fc6e9a5c184998402428
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 5 Jun 2018 14:40:44 +0000 (5 14:40 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Jun 2018 16:41:01 +0000 (11 09:41 -0700)
treecf46c535c67f31b78a481d73255abb128d1c317e
parent17b44aebb59379efd30e5c7c81b66d254d48066b
checkout.c: introduce an *_INIT macro

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 <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
checkout.c