Skip to content

Commit 2a10505

Browse files
committed
Merge branch 'ja/doc-placeholders-fix'
Docfix. * ja/doc-placeholders-fix: doc: enforce placeholders in documentation doc: enforce dashes in placeholders
2 parents bec9160 + 51e846e commit 2a10505

37 files changed

+99
-99
lines changed

Documentation/diff-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ and accumulating child directory counts in the parent directories:
299299
Synonym for --dirstat=cumulative
300300

301301
--dirstat-by-file[=<param1,param2>...]::
302-
Synonym for --dirstat=files,param1,param2...
302+
Synonym for --dirstat=files,<param1>,<param2>...
303303

304304
--summary::
305305
Output a condensed summary of extended header information

Documentation/git-blame.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ annotated.
210210

211211
. Each blame entry always starts with a line of:
212212

213-
<40-byte hex sha1> <sourceline> <resultline> <num_lines>
213+
<40-byte-hex-sha1> <sourceline> <resultline> <num-lines>
214214
+
215215
Line numbers count from 1.
216216

Documentation/git-bugreport.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ OPTIONS
5252
-s <format>::
5353
--suffix <format>::
5454
Specify an alternate suffix for the bugreport name, to create a file
55-
named 'git-bugreport-<formatted suffix>'. This should take the form of a
55+
named 'git-bugreport-<formatted-suffix>'. This should take the form of a
5656
strftime(3) format string; the current local time will be used.
5757

5858
--no-diagnose::
5959
--diagnose[=<mode>]::
6060
Create a zip archive of supplemental information about the user's
6161
machine, Git client, and repository state. The archive is written to the
6262
same output directory as the bug report and is named
63-
'git-diagnostics-<formatted suffix>'.
63+
'git-diagnostics-<formatted-suffix>'.
6464
+
6565
Without `mode` specified, the diagnostic archive will contain the default set of
6666
statistics reported by `git diagnose`. An optional `mode` value may be specified

Documentation/git-commit-graph.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SYNOPSIS
1313
'git commit-graph write' [--object-dir <dir>] [--append]
1414
[--split[=<strategy>]] [--reachable | --stdin-packs | --stdin-commits]
1515
[--changed-paths] [--[no-]max-new-filters <n>] [--[no-]progress]
16-
<split options>
16+
<split-options>
1717

1818

1919
DESCRIPTION

Documentation/git-config.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ OPTIONS
103103
names are not.
104104

105105
--get-urlmatch <name> <URL>::
106-
When given a two-part name section.key, the value for
107-
section.<URL>.key whose <URL> part matches the best to the
106+
When given a two-part <name> as <section>.<key>, the value for
107+
<section>.<URL>.<key> whose <URL> part matches the best to the
108108
given URL is returned (if no such key exists, the value for
109-
section.key is used as a fallback). When given just the
110-
section as name, do so for all the keys in the section and
109+
<section>.<key> is used as a fallback). When given just the
110+
<section> as name, do so for all the keys in the section and
111111
list them. Returns error code 1 if no value is found.
112112

113113
--global::

Documentation/git-cvsserver.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ allowing access over SSH.
197197
5. Clients should now be able to check out the project. Use the CVS 'module'
198198
name to indicate what Git 'head' you want to check out. This also sets the
199199
name of your newly checked-out directory, unless you tell it otherwise with
200-
`-d <dir_name>`. For example, this checks out 'master' branch to the
200+
`-d <dir-name>`. For example, this checks out 'master' branch to the
201201
`project-master` directory:
202202
+
203203
------
@@ -224,7 +224,7 @@ the database to work reliably (otherwise you need to make sure
224224
that the database is up to date any time 'git-cvsserver' is executed).
225225

226226
By default it uses SQLite databases in the Git directory, named
227-
`gitcvs.<module_name>.sqlite`. Note that the SQLite backend creates
227+
`gitcvs.<module-name>.sqlite`. Note that the SQLite backend creates
228228
temporary files in the same directory as the database file on
229229
write so it might not be enough to grant the users using
230230
'git-cvsserver' write access to the database file without granting

Documentation/git-daemon.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SYNOPSIS
1818
[--allow-override=<service>] [--forbid-override=<service>]
1919
[--access-hook=<path>] [--[no-]informative-errors]
2020
[--inetd |
21-
[--listen=<host_or_ipaddr>] [--port=<n>]
21+
[--listen=<host-or-ipaddr>] [--port=<n>]
2222
[--user=<user> [--group=<group>]]]
2323
[--log-destination=(stderr|syslog|none)]
2424
[<directory>...]
@@ -86,10 +86,10 @@ OPTIONS
8686
Incompatible with --detach, --port, --listen, --user and --group
8787
options.
8888

89-
--listen=<host_or_ipaddr>::
89+
--listen=<host-or-ipaddr>::
9090
Listen on a specific IP address or hostname. IP addresses can
9191
be either an IPv4 address or an IPv6 address if supported. If IPv6
92-
is not supported, then --listen=hostname is also not supported and
92+
is not supported, then --listen=<hostname> is also not supported and
9393
--listen must be given an IPv4 address.
9494
Can be given more than once.
9595
Incompatible with `--inetd` option.
@@ -141,8 +141,8 @@ otherwise `stderr`.
141141
specified with no parameter, a request to
142142
git://host/{tilde}alice/foo is taken as a request to access
143143
'foo' repository in the home directory of user `alice`.
144-
If `--user-path=path` is specified, the same request is
145-
taken as a request to access `path/foo` repository in
144+
If `--user-path=<path>` is specified, the same request is
145+
taken as a request to access `<path>/foo` repository in
146146
the home directory of user `alice`.
147147

148148
--verbose::

Documentation/git-diagnose.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ OPTIONS
4545
-s <format>::
4646
--suffix <format>::
4747
Specify an alternate suffix for the diagnostics archive name, to create
48-
a file named 'git-diagnostics-<formatted suffix>'. This should take the
48+
a file named 'git-diagnostics-<formatted-suffix>'. This should take the
4949
form of a strftime(3) format string; the current local time will be
5050
used.
5151

Documentation/git-difftool.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ instead. `--no-symlinks` is the default on Windows.
9090
--extcmd=<command>::
9191
Specify a custom command for viewing diffs.
9292
'git-difftool' ignores the configured defaults and runs
93-
`$command $LOCAL $REMOTE` when this option is specified.
93+
`<command> $LOCAL $REMOTE` when this option is specified.
9494
Additionally, `$BASE` is set in the environment.
9595

9696
-g::

Documentation/git-fast-import.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,11 +745,11 @@ paths for a commit are encouraged to do so.
745745

746746
`notemodify`
747747
^^^^^^^^^^^^
748-
Included in a `commit` `<notes_ref>` command to add a new note
748+
Included in a `commit` `<notes-ref>` command to add a new note
749749
annotating a `<commit-ish>` or change this annotation contents.
750750
Internally it is similar to filemodify 100644 on `<commit-ish>`
751751
path (maybe split into subdirectories). It's not advised to
752-
use any other commands to write to the `<notes_ref>` tree except
752+
use any other commands to write to the `<notes-ref>` tree except
753753
`filedeleteall` to delete all existing notes in this tree.
754754
This command has two different means of specifying the content
755755
of the note.

0 commit comments

Comments
 (0)