OSDN Git Service

Move ./technical/api-command.txt to ./howto/new-command.txt
authorThomas Ackermann <th.acker@arcor.de>
Fri, 21 Dec 2012 18:05:28 +0000 (19:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Dec 2012 18:35:53 +0000 (10:35 -0800)
The contents of this document does not describe any particular API, but
is more about the way to add a new command, which belongs to the "How To"
section of the documentation suite.

Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/Makefile
Documentation/howto/new-command.txt [moved from Documentation/technical/api-command.txt with 93% similarity]

index 3615504..5243222 100644 (file)
@@ -21,6 +21,7 @@ ARTICLES += git-tools
 ARTICLES += git-bisect-lk2009
 # with their own formatting rules.
 SP_ARTICLES = user-manual
+SP_ARTICLES += howto/new-command
 SP_ARTICLES += howto/revert-branch-rebase
 SP_ARTICLES += howto/using-merge-subtree
 SP_ARTICLES += howto/using-signed-tag-in-pull-request
similarity index 93%
rename from Documentation/technical/api-command.txt
rename to Documentation/howto/new-command.txt
index d3b9781..36502f6 100644 (file)
@@ -1,5 +1,10 @@
-Integrating new subcommands
-===========================
+From: Eric S. Raymond <esr@thyrsus.com>
+Abstract: This is how-to documentation for people who want to add extension
+ commands to git.  It should be read alongside api-builtin.txt.
+Content-type: text/asciidoc
+
+How to integrate new subcommands
+================================
 
 This is how-to documentation for people who want to add extension
 commands to git.  It should be read alongside api-builtin.txt.