From: Junio C Hamano Date: Fri, 19 Aug 2016 21:14:08 GMT Subject: Re: [PATCH v8 7/8] cache: add empty_tree_oid object Message-ID: In-Reply-To: Junio C Hamano writes: > Jacob Keller 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.