diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-02-11 11:17:48 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-11 13:29:36 -0800 |
| commit | 2f99f50f2d55fa23475b7de25ff215439c6f53ed (patch) | |
| tree | 8566237e41baf4f3d18d65653ed31c95004c0e1c /Documentation/CodingGuidelines | |
| parent | 9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed (diff) | |
| download | git-2f99f50f2d55fa23475b7de25ff215439c6f53ed.tar.gz git-2f99f50f2d55fa23475b7de25ff215439c6f53ed.zip | |
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>
Diffstat (limited to 'Documentation/CodingGuidelines')
| -rw-r--r-- | Documentation/CodingGuidelines | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index df72fe0177..51cb70b515 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -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. |
