From: Junio C Hamano Date: Sun, 16 Dec 2012 20:01:25 GMT Subject: Re: [PATCH] Move api-command.txt to the end of API list in api-index.txt Message-ID: <7vwqwhpy0a.fsf@alter.siamese.dyndns.org> In-Reply-To: <1702872710.62174.1355660592713.JavaMail.ngmail@webmail12.arcor-online.net> Thomas Ackermann 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. > > Signed-off-by: Thomas Ackermann > --- > 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+