Skip to content

Commit 8b4b41a

Browse files
tmzullingergitster
authored andcommitted
MyFirstContribution: *.txt -> *.adoc fixes
Signed-off-by: Todd Zullinger <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7c78c59 commit 8b4b41a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Documentation/MyFirstContribution.adoc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This tutorial aims to summarize the following documents, but the reader may find
2121
useful additional context:
2222

2323
- `Documentation/SubmittingPatches`
24-
- `Documentation/howto/new-command.txt`
24+
- `Documentation/howto/new-command.adoc`
2525

2626
[[getting-help]]
2727
=== Getting Help
@@ -331,7 +331,7 @@ function body:
331331
apply standard precedence rules. `git_config_get_string_tmp()` will look up
332332
a specific key ("user.name") and give you the value. There are a number of
333333
single-key lookup functions like this one; you can see them all (and more info
334-
about how to use `git_config()`) in `Documentation/technical/api-config.txt`.
334+
about how to use `git_config()`) in `Documentation/technical/api-config.adoc`.
335335

336336
You should see that the name printed matches the one you see when you run:
337337

@@ -461,10 +461,10 @@ $ ./bin-wrappers/git help psuh
461461

462462
Your new command is undocumented! Let's fix that.
463463

464-
Take a look at `Documentation/git-*.txt`. These are the manpages for the
464+
Take a look at `Documentation/git-*.adoc`. These are the manpages for the
465465
subcommands that Git knows about. You can open these up and take a look to get
466466
acquainted with the format, but then go ahead and make a new file
467-
`Documentation/git-psuh.txt`. Like with most of the documentation in the Git
467+
`Documentation/git-psuh.adoc`. Like with most of the documentation in the Git
468468
project, help pages are written with AsciiDoc (see CodingGuidelines, "Writing
469469
Documentation" section). Use the following template to fill out your own
470470
manpage:
@@ -543,7 +543,7 @@ Try and run `./bin-wrappers/git psuh -h`. Your command should crash at the end.
543543
That's because `-h` is a special case which your command should handle by
544544
printing usage.
545545

546-
Take a look at `Documentation/technical/api-parse-options.txt`. This is a handy
546+
Take a look at `Documentation/technical/api-parse-options.adoc`. This is a handy
547547
tool for pulling out options you need to be able to handle, and it takes a
548548
usage string.
549549

@@ -1088,14 +1088,14 @@ This gives reviewers a summary of what they're in for when reviewing your topic.
10881088
The one generated for `psuh` from the sample implementation looks like this:
10891089

10901090
----
1091-
Documentation/git-psuh.txt | 40 +++++++++++++++++++++
1092-
Makefile | 1 +
1093-
builtin.h | 1 +
1094-
builtin/psuh.c | 73 ++++++++++++++++++++++++++++++++++++++
1095-
git.c | 1 +
1096-
t/t9999-psuh-tutorial.sh | 12 +++++++
1091+
Documentation/git-psuh.adoc | 40 +++++++++++++++++++++
1092+
Makefile | 1 +
1093+
builtin.h | 1 +
1094+
builtin/psuh.c | 73 ++++++++++++++++++++++++++++++++++++++
1095+
git.c | 1 +
1096+
t/t9999-psuh-tutorial.sh | 12 +++++++
10971097
6 files changed, 128 insertions(+)
1098-
create mode 100644 Documentation/git-psuh.txt
1098+
create mode 100644 Documentation/git-psuh.adoc
10991099
create mode 100644 builtin/psuh.c
11001100
create mode 100755 t/t9999-psuh-tutorial.sh
11011101
----

0 commit comments

Comments
 (0)