Skip to content

Commit ed47bbd

Browse files
committed
Merge branch 'jj/command-line-adjective'
* jj/command-line-adjective: Documentation: use "command-line" when used as a compound adjective, and fix other minor grammatical issues
2 parents aa4bffa + 06ab60c commit ed47bbd

19 files changed

+47
-47
lines changed

Documentation/config.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ false), while all other repositories are assumed to be bare (bare
381381
core.worktree::
382382
Set the path to the root of the working tree.
383383
This can be overridden by the GIT_WORK_TREE environment
384-
variable and the '--work-tree' command line option.
384+
variable and the '--work-tree' command-line option.
385385
The value can be an absolute path or relative to the path to
386386
the .git directory, which is either specified by --git-dir
387387
or GIT_DIR, or automatically discovered.
@@ -523,7 +523,7 @@ core.askpass::
523523
environment variable. If not set, fall back to the value of the
524524
'SSH_ASKPASS' environment variable or, failing that, a simple password
525525
prompt. The external program shall be given a suitable prompt as
526-
command line argument and write the password on its STDOUT.
526+
command-line argument and write the password on its STDOUT.
527527

528528
core.attributesfile::
529529
In addition to '.gitattributes' (per-directory) and
@@ -1332,7 +1332,7 @@ grep.extendedRegexp::
13321332
gpg.program::
13331333
Use this custom program instead of "gpg" found on $PATH when
13341334
making or verifying a PGP signature. The program must support the
1335-
same command line interface as GPG, namely, to verify a detached
1335+
same command-line interface as GPG, namely, to verify a detached
13361336
signature, "gpg --verify $file - <$signature" is run, and the
13371337
program is expected to signal a good signature by exiting with
13381338
code 0, and to generate an ascii-armored detached signature, the
@@ -2303,7 +2303,7 @@ status.submodulesummary::
23032303
submodules when `diff.ignoreSubmodules` is set to 'all' or only
23042304
for those submodules where `submodule.<name>.ignore=all`. To
23052305
also view the summary for ignored submodules you can either use
2306-
the --ignore-submodules=dirty command line option or the 'git
2306+
the --ignore-submodules=dirty command-line option or the 'git
23072307
submodule summary' command, which shows a similar output but does
23082308
not honor these settings.
23092309

@@ -2325,7 +2325,7 @@ submodule.<name>.branch::
23252325
submodule.<name>.fetchRecurseSubmodules::
23262326
This option can be used to control recursive fetching of this
23272327
submodule. It can be overridden by using the --[no-]recurse-submodules
2328-
command line option to "git fetch" and "git pull".
2328+
command-line option to "git fetch" and "git pull".
23292329
This setting will override that from in the linkgit:gitmodules[5]
23302330
file.
23312331

Documentation/diff-config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ diff.ignoreSubmodules::
7676
this setting when reporting uncommitted changes. Setting it to
7777
'all' disables the submodule summary normally shown by 'git commit'
7878
and 'git status' when 'status.submodulesummary' is set unless it is
79-
overridden by using the --ignore-submodules command line option.
79+
overridden by using the --ignore-submodules command-line option.
8080
The 'git submodule' commands are not affected by this setting.
8181

8282
diff.mnemonicprefix::

Documentation/git-bisect.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ $ git bisect visualize
117117
`view` may also be used as a synonym for `visualize`.
118118

119119
If the 'DISPLAY' environment variable is not set, 'git log' is used
120-
instead. You can also give command line options such as `-p` and
120+
instead. You can also give command-line options such as `-p` and
121121
`--stat`.
122122

123123
------------

Documentation/git-config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ All writing options will per default write to the repository specific
256256
configuration file. Note that this also affects options like '--replace-all'
257257
and '--unset'. *'git config' will only ever change one file at a time*.
258258

259-
You can override these rules either by command line options or by environment
259+
You can override these rules either by command-line options or by environment
260260
variables. The '--global' and the '--system' options will limit the file used
261261
to the global or system-wide file respectively. The GIT_CONFIG environment
262262
variable has a similar effect, but you can specify any filename you want.

Documentation/git-daemon.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Git configuration files in that directory are readable by `<user>`.
169169
--forbid-override=<service>::
170170
Allow/forbid overriding the site-wide default with per
171171
repository configuration. By default, all the services
172-
are overridable.
172+
may be overridden.
173173

174174
--[no-]informative-errors::
175175
When informative errors are turned on, git-daemon will report
@@ -184,7 +184,7 @@ Git configuration files in that directory are readable by `<user>`.
184184
Every time a client connects, first run an external command
185185
specified by the <path> with service name (e.g. "upload-pack"),
186186
path to the repository, hostname (%H), canonical hostname
187-
(%CH), ip address (%IP), and tcp port (%P) as its command line
187+
(%CH), IP address (%IP), and TCP port (%P) as its command-line
188188
arguments. The external command can decide to decline the
189189
service by exiting with a non-zero status (or to allow it by
190190
exiting with a zero status). It can also look at the $REMOTE_ADDR
@@ -204,7 +204,7 @@ SERVICES
204204
--------
205205

206206
These services can be globally enabled/disabled using the
207-
command line options of this command. If a finer-grained
207+
command-line options of this command. If finer-grained
208208
control is desired (e.g. to allow 'git archive' to be run
209209
against only in a few selected repositories the daemon serves),
210210
the per-repository configuration file can be used to enable or

Documentation/git-fast-import.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ Date Formats
231231
~~~~~~~~~~~~
232232
The following date formats are supported. A frontend should select
233233
the format it will use for this import by passing the format name
234-
in the \--date-format=<fmt> command line option.
234+
in the \--date-format=<fmt> command-line option.
235235

236236
`raw`::
237237
This is the Git native format and is `<time> SP <offutc>`.
@@ -348,7 +348,7 @@ and control the current import process. More detailed discussion
348348
`done`::
349349
Marks the end of the stream. This command is optional
350350
unless the `done` feature was requested using the
351-
`--done` command line option or `feature done` command.
351+
`--done` command-line option or `feature done` command.
352352

353353
`cat-blob`::
354354
Causes fast-import to print a blob in 'cat-file --batch'
@@ -437,7 +437,7 @@ the email address from the other fields in the line. Note that
437437
of bytes, except `LT`, `GT` and `LF`. `<name>` is typically UTF-8 encoded.
438438

439439
The time of the change is specified by `<when>` using the date format
440-
that was selected by the \--date-format=<fmt> command line option.
440+
that was selected by the \--date-format=<fmt> command-line option.
441441
See ``Date Formats'' above for the set of supported formats, and
442442
their syntax.
443443

@@ -1085,7 +1085,7 @@ Option commands must be the first commands on the input (not counting
10851085
feature commands), to give an option command after any non-option
10861086
command is an error.
10871087

1088-
The following commandline options change import semantics and may therefore
1088+
The following command-line options change import semantics and may therefore
10891089
not be passed as option:
10901090

10911091
* date-format
@@ -1099,7 +1099,7 @@ not be passed as option:
10991099
If the `done` feature is not in use, treated as if EOF was read.
11001100
This can be used to tell fast-import to finish early.
11011101

1102-
If the `--done` command line option or `feature done` command is
1102+
If the `--done` command-line option or `feature done` command is
11031103
in use, the `done` command is mandatory and marks the end of the
11041104
stream.
11051105

Documentation/git-help.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ CONFIGURATION VARIABLES
8080
help.format
8181
~~~~~~~~~~~
8282

83-
If no command line option is passed, the 'help.format' configuration
83+
If no command-line option is passed, the 'help.format' configuration
8484
variable will be checked. The following values are supported for this
85-
variable; they make 'git help' behave as their corresponding command
85+
variable; they make 'git help' behave as their corresponding command-
8686
line option:
8787

8888
* "man" corresponds to '-m|--man',
@@ -93,15 +93,15 @@ help.browser, web.browser and browser.<tool>.path
9393
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9494

9595
The 'help.browser', 'web.browser' and 'browser.<tool>.path' will also
96-
be checked if the 'web' format is chosen (either by command line
96+
be checked if the 'web' format is chosen (either by command-line
9797
option or configuration variable). See '-w|--web' in the OPTIONS
9898
section above and linkgit:git-web{litdd}browse[1].
9999

100100
man.viewer
101101
~~~~~~~~~~
102102

103-
The 'man.viewer' config variable will be checked if the 'man' format
104-
is chosen. The following values are currently supported:
103+
The 'man.viewer' configuration variable will be checked if the 'man'
104+
format is chosen. The following values are currently supported:
105105

106106
* "man": use the 'man' program as usual,
107107
* "woman": use 'emacsclient' to launch the "woman" mode in emacs
@@ -124,7 +124,7 @@ For example, this configuration:
124124
viewer = woman
125125
------------------------------------------------
126126

127-
will try to use konqueror first. But this may fail (for example if
127+
will try to use konqueror first. But this may fail (for example, if
128128
DISPLAY is not set) and in that case emacs' woman mode will be tried.
129129

130130
If everything fails, or if no viewer is configured, the viewer specified

Documentation/git-ls-files.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,15 @@ specifies the format of exclude patterns.
185185

186186
These exclude patterns come from these places, in order:
187187

188-
1. The command line flag --exclude=<pattern> specifies a
188+
1. The command-line flag --exclude=<pattern> specifies a
189189
single pattern. Patterns are ordered in the same order
190190
they appear in the command line.
191191

192-
2. The command line flag --exclude-from=<file> specifies a
192+
2. The command-line flag --exclude-from=<file> specifies a
193193
file containing a list of patterns. Patterns are ordered
194194
in the same order they appear in the file.
195195

196-
3. The command line flag --exclude-per-directory=<name> specifies
196+
3. The command-line flag --exclude-per-directory=<name> specifies
197197
a name of the file in each directory 'git ls-files'
198198
examines, normally `.gitignore`. Files in deeper
199199
directories take precedence. Patterns are ordered in the

Documentation/git-read-tree.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ merge. The different stages represent the "result tree" (stage 0, aka
283283
you are trying to merge (stage 2 and 3 respectively).
284284

285285
The order of stages 1, 2 and 3 (hence the order of three
286-
<tree-ish> command line arguments) are significant when you
286+
<tree-ish> command-line arguments) are significant when you
287287
start a 3-way merge with an index file that is already
288288
populated. Here is an outline of how the algorithm works:
289289

Documentation/git-send-email.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ files in the directory), or directly as a revision list. In the
2020
last case, any format accepted by linkgit:git-format-patch[1] can
2121
be passed to git send-email.
2222

23-
The header of the email is configurable by command line options. If not
23+
The header of the email is configurable via command-line options. If not
2424
specified on the command line, the user will be prompted with a ReadLine
2525
enabled interface to provide the necessary information.
2626

@@ -68,7 +68,7 @@ The --cc option must be repeated for each user you want on the cc list.
6868
When '--compose' is used, git send-email will use the From, Subject, and
6969
In-Reply-To headers specified in the message. If the body of the message
7070
(what you type after the headers and a blank line) only contains blank
71-
(or Git: prefixed) lines the summary won't be sent, but From, Subject,
71+
(or Git: prefixed) lines, the summary won't be sent, but From, Subject,
7272
and In-Reply-To headers will be used unless they are removed.
7373
+
7474
Missing From or In-Reply-To headers will be prompted for.
@@ -78,7 +78,7 @@ See the CONFIGURATION section for 'sendemail.multiedit'.
7878
--from=<address>::
7979
Specify the sender of the emails. If not specified on the command line,
8080
the value of the 'sendemail.from' configuration option is used. If
81-
neither the command line option nor 'sendemail.from' are set, then the
81+
neither the command-line option nor 'sendemail.from' are set, then the
8282
user will be prompted for the value. The default for the prompt will be
8383
the value of GIT_AUTHOR_IDENT, or GIT_COMMITTER_IDENT if that is not
8484
set, as returned by "git var -l".

0 commit comments

Comments
 (0)