Re: [PATCH v8 7/8] cache: add empty_tree_oid object
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 19, 2016, 21:14 UTC
- Message-ID
- <xmqqtwegzckf.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <xmqq7fbc1o1f.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> Jacob Keller <jacob.keller@gmail.com> writes: > >> Is there a reason for that? I've found that .field = value is safer >> because it ensures that you don't end up initializing the wrong >> values? Or is it a compatibility thing? > > Yes.
That was a bit too terse. The answers to all three questions are "Yes", "Yes", and "Yes".
Together with enum ... = { A, B, C, }; we may want to consider not worrying about ancient compilers at some point, and it might be this year or next year, but I do not think we want to do that as part of this series.