]> git.ipfire.org Git - thirdparty/git.git/commit - graph.c
graph: move doc to graph.h and graph.c
authorHeba Waly <heba.waly@gmail.com>
Sun, 17 Nov 2019 21:04:42 +0000 (21:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2019 06:21:28 +0000 (15:21 +0900)
commit3f1480b745b70e9f7c0629b58a98ddcb516490bb
tree1d45365ddb9d471e3a0bed13b00b85494203be7e
parent266f03eccd36b84c88206aa6d18b163223294229
graph: move doc to graph.h and graph.c

Move the documentation from Documentation/technical/api-history-graph.txt to
graph.h and graph.c as it's easier for the developers to find the usage
information beside the code instead of looking for it in another doc file.

The graph library was already well documented, so few comments were added to
both graph.h and graph.c

Also documentation/technical/api-history-graph.txt is removed because
the information it has is now redundant and it'll be hard to keep it up to
date and synchronized with the documentation in the header file.

Signed-off-by: Heba Waly <heba.waly@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-history-graph.txt [deleted file]
graph.c
graph.h