*.h: move some *_INIT to designated initializers
commit3d97ea479fdcb88671105e2f2d04064bab110bd5
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 1 Jul 2021 10:51:25 +0000 (1 12:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Jul 2021 19:31:45 +0000 (1 12:31 -0700)
treea27eca58a56879dd07289bc85e46dddcc76e89cd
parentebf3c04b262aa27fbb97f8a0156c2347fecafafb
*.h: move some *_INIT to designated initializers

Move *_INIT macros I'll use in a subsequent commits to designated
initializers. This isn't required for those follow-up changes, but
since next commits will change things in this area, let's use the
modern pattern over the old one while we're at it.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
credential.h
json-writer.h
run-command.h
string-list.h