@matheusbsbs / matheus-bagliano / commits / 7b4fb434b4
Fork 0

documentation: remove empty doc files

Remove empty and redundant documentation files from the Documentation/technical/ directory. The empty doc files included only TODO messages with no documentation for years. Instead an approach is being taken to keep all doc beside the code in the relevant header files. Having empty doc files is confusing and disappointing to anybody looking for information, besides having the documentation in header files makes it easier for developers to find the information they are looking for. Some of the content which could have gone here already exists elsewhere: - api-object-access.txt -> sha1-file.c and object.h have some details. - api-quote.txt -> quote.h has some details. - api-xdiff-interface.txt -> xdiff-interface.h has some details. - api-grep.txt -> grep.h does not have enough documentation at the moment. Signed-off-by: Heba Waly <heba.waly@gmail.com> Reviewed-by: Emily Shaffer <emilyshaffer@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Heba Waly committed Oct 24, 2019 at 11:29 UTC 7b4fb434b410358b7a70ef772463292e18bf6c30
4 files changed -40
Documentation/technical/api-grep.txt deleted
-8
@@ -1,8 +0,0 @@
1 -grep API
2 -========
3 -
4 -Talk about <grep.h>, things like:
5 -
6 -* grep_buffer()
7 -
8 -(JC)
Documentation/technical/api-object-access.txt deleted
-15
@@ -1,15 +0,0 @@
1 -object access API
2 -=================
3 -
4 -Talk about <sha1-file.c> and <object.h> family, things like
5 -
6 -* read_sha1_file()
7 -* read_object_with_reference()
8 -* has_sha1_file()
9 -* write_sha1_file()
10 -* pretend_object_file()
11 -* lookup_{object,commit,tag,blob,tree}
12 -* parse_{object,commit,tag,blob,tree}
13 -* Use of object flags
14 -
15 -(JC, Shawn, Daniel, Dscho, Linus)
Documentation/technical/api-quote.txt deleted
-10
@@ -1,10 +0,0 @@
1 -quote API
2 -=========
3 -
4 -Talk about <quote.h>, things like
5 -
6 -* sq_quote and unquote
7 -* c_style quote and unquote
8 -* quoting for foreign languages
9 -
10 -(JC)
Documentation/technical/api-xdiff-interface.txt deleted
-7
@@ -1,7 +0,0 @@
1 -xdiff interface API
2 -===================
3 -
4 -Talk about our calling convention to xdiff library, including
5 -xdiff_emit_consume_fn.
6 -
7 -(Dscho, JC)