# [PATCH 0/3] Move api-command.txt from ./technical/ to ./howto

5 messages from 2012-12-21 to 2012-12-21. Participants: Thomas Ackermann, Junio C Hamano.
Thread: https://gitlist.dev/t/32434

## Thomas Ackermann, 2012-12-21 18:02

Subject: [PATCH 0/3] Move api-command.txt from ./technical/ to ./howto
Message-ID: <1595193006.286662.1356112971883.JavaMail.ngmail@webmail14.arcor-online.net>
URL: https://gitlist.dev/e/1595193006.286662.1356112971883.JavaMail.ngmail%40webmail14.arcor-online.net

```

"api-command.txt" describes a different kind of API than the other api-* documents.
So better move it to the howto documents in ./Documentation/howto and rename
to "new-command.txt".

[PATCH 1/3] Move ./technical/api-command.txt to ./howto/new-command.txt
[PATCH 2/3] Add new-command.txt to ./Documentation/Makefile
[PATCH 3/3] Amend new-command.txt to be processed correctly by howto-index.sh

Signed-off-by: Thomas Ackermann <th.acker@arcor.de>


---
Thomas

```

## Thomas Ackermann, 2012-12-21 18:05

Subject: [PATCH 1/3] Move ./technical/api-command.txt to ./howto/new-command.txt
Message-ID: <1121023011.286687.1356113128586.JavaMail.ngmail@webmail14.arcor-online.net>
URL: https://gitlist.dev/e/1121023011.286687.1356113128586.JavaMail.ngmail%40webmail14.arcor-online.net
In-Reply-To: <1595193006.286662.1356112971883.JavaMail.ngmail@webmail14.arcor-online.net>

```

Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
---
 Documentation/{technical/api-command.txt => howto/new-command.txt} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename Documentation/{technical/api-command.txt => howto/new-command.txt} (100%)

diff --git a/Documentation/technical/api-command.txt b/Documentation/howto/new-command.txt
similarity index 100%
rename from Documentation/technical/api-command.txt
rename to Documentation/howto/new-command.txt
-- 
1.8.0.msysgit.0


---
Thomas

```

## Thomas Ackermann, 2012-12-21 18:06

Subject: [PATCH 2/3] Add new-command.txt to ./Documentation/Makefile
Message-ID: <1639182573.286712.1356113191647.JavaMail.ngmail@webmail14.arcor-online.net>
URL: https://gitlist.dev/e/1639182573.286712.1356113191647.JavaMail.ngmail%40webmail14.arcor-online.net
In-Reply-To: <1595193006.286662.1356112971883.JavaMail.ngmail@webmail14.arcor-online.net>

```

Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
---
 Documentation/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index 7df75d0..f3afcb6 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
-- 
1.8.0.msysgit.0


---
Thomas

```

## Thomas Ackermann, 2012-12-21 18:07

Subject: [PATCH 3/3] Amend new-command.txt to be processed correctly by howto-index.sh
Message-ID: <992343281.286729.1356113255572.JavaMail.ngmail@webmail14.arcor-online.net>
URL: https://gitlist.dev/e/992343281.286729.1356113255572.JavaMail.ngmail%40webmail14.arcor-online.net
In-Reply-To: <1595193006.286662.1356112971883.JavaMail.ngmail@webmail14.arcor-online.net>

```

Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
---
 Documentation/howto/new-command.txt | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Documentation/howto/new-command.txt b/Documentation/howto/new-command.txt
index d3b9781..36502f6 100644
--- a/Documentation/howto/new-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.
-- 
1.8.0.msysgit.0


---
Thomas

```

## Junio C Hamano, 2012-12-21 18:33

Subject: Re: [PATCH 0/3] Move api-command.txt from ./technical/ to ./howto
Message-ID: <7v38yz1ch5.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7v38yz1ch5.fsf%40alter.siamese.dyndns.org
In-Reply-To: <1595193006.286662.1356112971883.JavaMail.ngmail@webmail14.arcor-online.net>

```
Thomas Ackermann <th.acker@arcor.de> writes:

> "api-command.txt" describes a different kind of API than the other api-* documents.
> So better move it to the howto documents in ./Documentation/howto and rename
> to "new-command.txt".
>
> [PATCH 1/3] Move ./technical/api-command.txt to ./howto/new-command.txt
> [PATCH 2/3] Add new-command.txt to ./Documentation/Makefile
> [PATCH 3/3] Amend new-command.txt to be processed correctly by howto-index.sh
>
> Signed-off-by: Thomas Ackermann <th.acker@arcor.de>

Seems good from a cursory look, but I think this is better done in a
single patch.  If you do not mind, I'll squash them into one.


Thanks.

```
