CodingGuidelines: document // comments

We do not use // comments in our C code, which is implied by the
description of multi-line comment rule and its examples, but is not
explicitly spelled out.  Spell it out.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano
2026-02-11 11:17:48 -08:00
parent 9a2fb147f2
commit 2f99f50f2d

View File

@@ -430,6 +430,8 @@ For C programs:
*/
_("Here is a translatable string explained by the above.");
We do not use // comments.
- Double negation is often harder to understand than no negation
at all.