summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Thomas Ackermann <th.acker@arcor.de>2012-12-21 19:05:28 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-12-21 10:35:53 -0800
commit81670e9bfcd8a24410cf16f4362c720f950f61d4 (patch)
tree6c8fc9b247d6c396100492db8ea37388594a7fcf /Documentation
parentRenumber list in api-command.txt (diff)
downloadtgif-81670e9bfcd8a24410cf16f4362c720f950f61d4.tar.xz
Move ./technical/api-command.txt to ./howto/new-command.txt
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/Makefile1
-rw-r--r--Documentation/howto/new-command.txt (renamed from Documentation/technical/api-command.txt)9
2 files changed, 8 insertions, 2 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 361550422a..5243222f13 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -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
diff --git a/Documentation/technical/api-command.txt b/Documentation/howto/new-command.txt
index d3b978177b..36502f6718 100644
--- a/Documentation/technical/api-command.txt
+++ b/Documentation/howto/new-command.txt
@@ -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.