Skip to content

Commit fef1196

Browse files
tacker66gitster
authored andcommitted
Renumber list in api-command.txt
Start list with 1 instead of 0; ASCIIDOC will renumber it anyway. Signed-off-by: Thomas Ackermann <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bfae342 commit fef1196

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Documentation/technical/api-command.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,28 +71,28 @@ Integrating a command
7171
Here are the things you need to do when you want to merge a new
7272
subcommand into the git tree.
7373

74-
0. Don't forget to sign off your patch!
74+
1. Don't forget to sign off your patch!
7575

76-
1. Append your command name to one of the variables BUILTIN_OBJS,
76+
2. Append your command name to one of the variables BUILTIN_OBJS,
7777
EXTRA_PROGRAMS, SCRIPT_SH, SCRIPT_PERL or SCRIPT_PYTHON.
7878

79-
2. Drop its test in the t directory.
79+
3. Drop its test in the t directory.
8080

81-
3. If your command is implemented in an interpreted language with a
81+
4. If your command is implemented in an interpreted language with a
8282
p-code intermediate form, make sure .gitignore in the main directory
8383
includes a pattern entry that ignores such files. Python .pyc and
8484
.pyo files will already be covered.
8585

86-
4. If your command has any dependency on a particular version of
86+
5. If your command has any dependency on a particular version of
8787
your language, document it in the INSTALL file.
8888

89-
5. There is a file command-list.txt in the distribution main directory
89+
6. There is a file command-list.txt in the distribution main directory
9090
that categorizes commands by type, so they can be listed in appropriate
9191
subsections in the documentation's summary command list. Add an entry
9292
for yours. To understand the categories, look at git-cmmands.txt
9393
in the main directory.
9494

95-
6. Give the maintainer one paragraph to include in the RelNotes file
95+
7. Give the maintainer one paragraph to include in the RelNotes file
9696
to describe the new feature; a good place to do so is in the cover
9797
letter [PATCH 0/n].
9898

0 commit comments

Comments
 (0)