Re: [PATCH] Move api-command.txt to the end of API list in api-index.txt

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] Move api-command.txt to the end of API list in api-index.txt

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:55:32

Thomas Ackermann [off-list ref] writes:
- because it describes a different form of API than the other api-* documents
Drop that "- "; it is not like you are enumerating many reasons.

It makes me wonder if a more correct "fix" is to move this document
to the ../howto/ hierarchy.
quoted hunk
Signed-off-by: Thomas Ackermann <redacted>
---
 Documentation/technical/api-index.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/technical/api-index.sh b/Documentation/technical/api-index.sh
index 9c3f413..c2c68ed 100755
--- a/Documentation/technical/api-index.sh
+++ b/Documentation/technical/api-index.sh
@@ -10,12 +10,16 @@
 	while read filename
 	do
 		case "$filename" in
-		api-index-skel.txt | api-index.txt) continue ;;
+		api-index-skel.txt | api-index.txt | api-command.txt) continue ;;
 		esac
 		title=$(sed -e 1q "$filename")
 		html=${filename%.txt}.html
 		echo "* link:$html[$title]"
 	done
+	filename=api-command.txt
+	title=$(sed -e 1q "$filename")
+	html=${filename%.txt}.html
+	echo "* link:$html[$title]"
 	echo "$c"
 	sed -n -e '/^\/\/ table of contents end/,$p' "$skel"
 ) >api-index.txt+

Aw: Re: [PATCH] Move api-command.txt to the end of API list in api-index.txt

From: Thomas Ackermann <hidden>
Date: 2016-06-15 22:55:32

 
OK; I would also prefer to have it in ./howto.
So please drop this patch; I will provide a new one.

----- Original Nachricht ----
Von:     Junio C Hamano [off-list ref]
An:      Thomas Ackermann [off-list ref]
Datum:   16.12.2012 21:01
Betreff: Re: [PATCH] Move api-command.txt to the end of API list in
 api-index.txt
Thomas Ackermann [off-list ref] writes:
quoted
- because it describes a different form of API than the other api-*
documents

It makes me wonder if a more correct "fix" is to move this document
to the ../howto/ hierarchy.

---
Thomas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help