From: Jason St. John Date: Wed, 21 May 2014 19:02:10 GMT Subject: Re: [PATCH] Documentation: use "command-line" when used as a compound adjective, and fix other minor grammatical issues Message-ID: In-Reply-To: <1400698346-25949-1-git-send-email-jstjohn@purdue.edu> On Wed, May 21, 2014 at 2:52 PM, Jason St. John wrote: > > Signed-off-by: Jason St. John > --- > Junio pointed out in the link below that there are a number of instances of e.g. > "command line option" (without a hyphen) in the documentation. This patch fixes > all of them that I was able to find. The other minor grammatical improvements were > noticed while working on the switch to "command-line option"; they seemed too > trivial to justify a separate patch. > > https://marc.info/?l=git&m=140054322310981&w=2 > > Documentation/config.txt | 10 +++++----- > Documentation/diff-config.txt | 2 +- > Documentation/git-bisect.txt | 2 +- > Documentation/git-config.txt | 2 +- > Documentation/git-daemon.txt | 6 +++--- > Documentation/git-fast-import.txt | 10 +++++----- > Documentation/git-help.txt | 12 ++++++------ > Documentation/git-ls-files.txt | 6 +++--- > Documentation/git-read-tree.txt | 2 +- > Documentation/git-send-email.txt | 6 +++--- > Documentation/git-svn.txt | 4 ++-- > Documentation/git-web--browse.txt | 4 ++-- > Documentation/git.txt | 8 ++++---- > Documentation/gitcli.txt | 8 ++++---- > Documentation/gitk.txt | 2 +- > Documentation/gitweb.conf.txt | 2 +- > Documentation/howto/setup-git-server-over-http.txt | 2 +- > Documentation/technical/http-protocol.txt | 2 +- > Documentation/user-manual.txt | 8 ++++---- > 19 files changed, 49 insertions(+), 49 deletions(-) > > diff --git a/Documentation/config.txt b/Documentation/config.txt > index 1932e9b..553b300 100644 > --- a/Documentation/config.txt > +++ b/Documentation/config.txt > @@ -381,7 +381,7 @@ false), while all other repositories are assumed to be bare (bare > core.worktree:: > Set the path to the root of the working tree. > This can be overridden by the GIT_WORK_TREE environment > - variable and the '--work-tree' command line option. > + variable and the '--work-tree' command-line option. > The value can be an absolute path or relative to the path to > the .git directory, which is either specified by --git-dir > or GIT_DIR, or automatically discovered. > @@ -523,7 +523,7 @@ core.askpass:: > environment variable. If not set, fall back to the value of the > 'SSH_ASKPASS' environment variable or, failing that, a simple password > prompt. The external program shall be given a suitable prompt as > - command line argument and write the password on its STDOUT. > + command-line argument and write the password on its STDOUT. > > core.attributesfile:: > In addition to '.gitattributes' (per-directory) and > @@ -1324,7 +1324,7 @@ grep.extendedRegexp:: > gpg.program:: > Use this custom program instead of "gpg" found on $PATH when > making or verifying a PGP signature. The program must support the > - same command line interface as GPG, namely, to verify a detached > + same command-line interface as GPG, namely, to verify a detached > signature, "gpg --verify $file - <$signature" is run, and the > program is expected to signal a good signature by exiting with > code 0, and to generate an ascii-armored detached signature, the > @@ -2295,7 +2295,7 @@ status.submodulesummary:: > submodules when `diff.ignoreSubmodules` is set to 'all' or only > for those submodules where `submodule..ignore=all`. To > also view the summary for ignored submodules you can either use > - the --ignore-submodules=dirty command line option or the 'git > + the --ignore-submodules=dirty command-line option or the 'git > submodule summary' command, which shows a similar output but does > not honor these settings. > > @@ -2317,7 +2317,7 @@ submodule..branch:: > submodule..fetchRecurseSubmodules:: > This option can be used to control recursive fetching of this > submodule. It can be overridden by using the --[no-]recurse-submodules > - command line option to "git fetch" and "git pull". > + command-line option to "git fetch" and "git pull". > This setting will override that from in the linkgit:gitmodules[5] > file. > > diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt > index f07b451..b001779 100644 > --- a/Documentation/diff-config.txt > +++ b/Documentation/diff-config.txt > @@ -76,7 +76,7 @@ diff.ignoreSubmodules:: > this setting when reporting uncommitted changes. Setting it to > 'all' disables the submodule summary normally shown by 'git commit' > and 'git status' when 'status.submodulesummary' is set unless it is > - overridden by using the --ignore-submodules command line option. > + overridden by using the --ignore-submodules command-line option. > The 'git submodule' commands are not affected by this setting. > > diff.mnemonicprefix:: > diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt > index f986c5c..4cb52a7 100644 > --- a/Documentation/git-bisect.txt > +++ b/Documentation/git-bisect.txt > @@ -117,7 +117,7 @@ $ git bisect visualize > `view` may also be used as a synonym for `visualize`. > > If the 'DISPLAY' environment variable is not set, 'git log' is used > -instead. You can also give command line options such as `-p` and > +instead. You can also give command-line options such as `-p` and > `--stat`. > > ------------ > diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt > index e9917b8..9dfa1a5 100644 > --- a/Documentation/git-config.txt > +++ b/Documentation/git-config.txt > @@ -256,7 +256,7 @@ All writing options will per default write to the repository specific > configuration file. Note that this also affects options like '--replace-all' > and '--unset'. *'git config' will only ever change one file at a time*. > > -You can override these rules either by command line options or by environment > +You can override these rules either by command-line options or by environment > variables. The '--global' and the '--system' options will limit the file used > to the global or system-wide file respectively. The GIT_CONFIG environment > variable has a similar effect, but you can specify any filename you want. > diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt > index 223f731..a69b361 100644 > --- a/Documentation/git-daemon.txt > +++ b/Documentation/git-daemon.txt > @@ -169,7 +169,7 @@ Git configuration files in that directory are readable by ``. > --forbid-override=:: > Allow/forbid overriding the site-wide default with per > repository configuration. By default, all the services > - are overridable. > + may be overridden. > > --[no-]informative-errors:: > When informative errors are turned on, git-daemon will report > @@ -184,7 +184,7 @@ Git configuration files in that directory are readable by ``. > Every time a client connects, first run an external command > specified by the with service name (e.g. "upload-pack"), > path to the repository, hostname (%H), canonical hostname > - (%CH), ip address (%IP), and tcp port (%P) as its command line > + (%CH), IP address (%IP), and TCP port (%P) as its command-line > arguments. The external command can decide to decline the > service by exiting with a non-zero status (or to allow it by > exiting with a zero status). It can also look at the $REMOTE_ADDR > @@ -204,7 +204,7 @@ SERVICES > -------- > > These services can be globally enabled/disabled using the > -command line options of this command. If a finer-grained > +command-line options of this command. If finer-grained > control is desired (e.g. to allow 'git archive' to be run > against only in a few selected repositories the daemon serves), > the per-repository configuration file can be used to enable or > diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt > index fd22a9a..3ffa2fa 100644 > --- a/Documentation/git-fast-import.txt > +++ b/Documentation/git-fast-import.txt > @@ -231,7 +231,7 @@ Date Formats > ~~~~~~~~~~~~ > The following date formats are supported. A frontend should select > the format it will use for this import by passing the format name > -in the \--date-format= command line option. > +in the \--date-format= command-line option. > > `raw`:: > This is the Git native format and is `