aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-02-20 11:36:18 -0800
committerJunio C Hamano <gitster@pobox.com>2026-02-20 11:36:18 -0800
commit2a0a64b9d41a2bb359807da0e65a6f6cb7f6e638 (patch)
treed66496f659236022d5601c1bc5f7735869535b10 /Documentation
parent5465d3683a97a950358152925204f16b98739fad (diff)
parent2f99f50f2d55fa23475b7de25ff215439c6f53ed (diff)
downloadgit-2a0a64b9d41a2bb359807da0e65a6f6cb7f6e638.tar.xz
Merge branch 'jc/doc-cg-c-comment'
A CodingGuidelines update. * jc/doc-cg-c-comment: CodingGuidelines: document // comments
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/CodingGuidelines2
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.