CodingGuidelines: do not call the conditional statement "if()"
authorJunio C Hamano <gitster@pobox.com>
Wed, 30 Apr 2014 21:25:47 +0000 (14:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 May 2014 20:26:07 +0000 (13:26 -0700)
The point immediately before it is about having SP after the control
keyword. Spell it out as 'an "if" statement' instead.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/CodingGuidelines
index 0a574b204c00d2a577f73bf9687dbbc491797a44..aeaa82451e8ac693386558a590a3e51db42ee210 100644 (file)
@@ -194,7 +194,7 @@ For C programs:
    of "else if" statements, it can make sense to add braces to
    single line blocks.
 
- - We try to avoid assignments inside if().
+ - We try to avoid assignments in the condition of an "if" statement.
 
  - Try to make your code understandable.  You may put comments
    in, but comments invariably tend to stale out when the code