Jonathan Nieder <jrnieder@xxxxxxxxx> writes: > Git seems to be inconsistent about this. Documentation/CodingGuidelines > says > > - When there are multiple arms to a conditional and some of them > require braces, enclose even a single line block in braces for > consistency. E.g.: > > so you have some cover from there (and it matches what I'm used to, > too). :) Yup, it took us for quite some time before we settled on that rule and wrote it down, so there are some lines that predate it *and* have survived.