Re: [PATCH v5 3/8] checkout.[ch]: introduce an *_INIT macro
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jun 1, 2018, 22:40 UTC
- Message-ID
- <CAPig+cR-4ni9nuKp8buvBOKe-43DM7g5Y_pfEcQDuM5n9xuhVg@mail.gmail.com>
- In-Reply-To
- <20180601211015.11919-4-avarab@gmail.com>
On Fri, Jun 1, 2018 at 5:10 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> checkout.[ch]: introduce an *_INIT macro
checkout.c: introduce...
Show 6 quoted lines
> 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>