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 d152a74 + d9f079a commit 0d4f473Copy full SHA for 0d4f473
Documentation/CodingGuidelines
@@ -376,7 +376,10 @@ For C programs:
376
string_list for sorted string lists, a hash map (mapping struct
377
objects) named "struct decorate", amongst other things.
378
379
- - When you come up with an API, document it.
+ - When you come up with an API, document its functions and structures
380
+ in the header file that exposes the API to its callers. Use what is
381
+ in "strbuf.h" as a model for the appropriate tone and level of
382
+ detail.
383
384
- The first #include in C files, except in platform specific compat/
385
implementations, must be either "git-compat-util.h", "cache.h" or
0 commit comments