summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-10-10 13:38:00 -0700
committerJunio C Hamano <gitster@pobox.com>2022-10-11 08:55:01 -0700
commit438c2f859b2c8c01c57a6969ec5858c0253cfa69 (patch)
treed368331041ba9a09d47f324053d271225004c6d5 /commit.c
parentd7d850e2b979c2063a7b39c6554233a8af189f3e (diff)
CodingGuidelines: recommend against unportable C99 struct syntax
Per 33665d98e6b (reftable: make assignments portable to AIX xlc v12.01, 2022-03-28) forms like ".a.b = *c" can be replaced by using ".a = { .b = *c }" instead. We'll probably allow these sooner than later, but since the workaround is trivial let's note it among the C99 features we'd like to hold off on for now. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions