]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: use C99 named initializer
authorEmily Shaffer <emilyshaffer@google.com>
Fri, 21 Feb 2020 03:10:26 +0000 (19:10 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Feb 2020 17:58:33 +0000 (09:58 -0800)
commit47319576f112b60ecd85930d162cd7656132fd0d
treed146c5de16c94c9de9d59fdc083fcbadeea54a4f
parentd0654dc308b0ba76dd8ed7bbb33c8d8f7aacd783
submodule--helper: use C99 named initializer

Start using a named initializer list for SUBMODULE_UPDATE_CLONE_INIT, as
the struct is becoming cumbersome for a typical struct initializer list.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c