We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 368ba6b + d9f079a commit 6b57374Copy full SHA for 6b57374
Documentation/CodingGuidelines
@@ -358,7 +358,10 @@ For C programs:
358
string_list for sorted string lists, a hash map (mapping struct
359
objects) named "struct decorate", amongst other things.
360
361
- - When you come up with an API, document it.
+ - When you come up with an API, document its functions and structures
362
+ in the header file that exposes the API to its callers. Use what is
363
+ in "strbuf.h" as a model for the appropriate tone and level of
364
+ detail.
365
366
- The first #include in C files, except in platform specific compat/
367
implementations, must be either "git-compat-util.h", "cache.h" or
0 commit comments