diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-02-24 10:33:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-24 15:58:55 -0800 |
commit | 4996e0b015bd1dbb921bc359438e1385e7c87fd7 (patch) | |
tree | a4589a638a3bd66202bfa14bac7ff9c276c5783e /t/t1004-read-tree-m-u-wf.sh | |
parent | trace2: use designated initializers for "struct tr2_tgt" (diff) | |
download | tgif-4996e0b015bd1dbb921bc359438e1385e7c87fd7.tar.xz |
trace2: use designated initializers for "struct tr2_dst"
Convert the "static struct tr2_dst" assignments in trace2/* to use
designated initializers. I don't think it improves readability to
include the explicit 0-ing out of the
fd/initialized/need_close/too_many_files members, so let's have those
be initialized implicitly by the compiler.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1004-read-tree-m-u-wf.sh')
0 files changed, 0 insertions, 0 deletions