summaryrefslogtreecommitdiff
path: root/Documentation/gui-config.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-09-28 16:50:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-09-29 18:18:01 (GMT)
commitd9f079ad1a866151fea01f7f977dfbd1ba4d97f7 (patch)
treec0d420eeaac4fd594ec4f02362f2d1d1ff99e9c6 /Documentation/gui-config.txt
parent1d4361b0f344188ab5eec6dcea01f61a3a3a1670 (diff)
downloadgit-d9f079ad1a866151fea01f7f977dfbd1ba4d97f7.zip
git-d9f079ad1a866151fea01f7f977dfbd1ba4d97f7.tar.gz
git-d9f079ad1a866151fea01f7f977dfbd1ba4d97f7.tar.bz2
CodingGuidelines: document the API in *.h files
It makes it harder to let the API description and the reality drift apart if the doc is kept close to the implementation or the header of the API. We have been slowly migrating API docs out of the Documentation/technical/api-* to *.h files, and the development community generally considers that how inline docs in strbuf.h is done the best current practice. We recommend documenting in the header over documenting near the implementation to encourage people to write the docs that are readable without peeking at the implemention. Helped-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gui-config.txt')
0 files changed, 0 insertions, 0 deletions