Skip to content

Commit

Permalink
documentation: add missing article
Browse files Browse the repository at this point in the history
Diff best viewed with --color-diff.

Signed-off-by: Elijah Newren <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
newren authored and gitster committed Oct 9, 2023
1 parent 3771d00 commit 0a4f051
Show file tree
Hide file tree
Showing 57 changed files with 93 additions and 93 deletions.
2 changes: 1 addition & 1 deletion Documentation/ReviewingGuidelines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Principles
Selecting patch(es) to review
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you are looking for a patch series in need of review, start by checking
latest "What's cooking in git.git" email
the latest "What's cooking in git.git" email
(https://lore.kernel.org/git/[email protected]/[example]). The "What's
cooking" emails & replies can be found using the query `s:"What's cooking"` on
the https://lore.kernel.org/git/[`lore.kernel.org` mailing list archive];
Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/advice.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ advice.*::
+
--
ambiguousFetchRefspec::
Advice shown when fetch refspec for multiple remotes maps to
Advice shown when a fetch refspec for multiple remotes maps to
the same remote-tracking branch namespace and causes branch
tracking set-up to fail.
fetchShowForcedUpdates::
Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ commit.cleanup::
This setting overrides the default of the `--cleanup` option in
`git commit`. See linkgit:git-commit[1] for details. Changing the
default can be useful when you always want to keep lines that begin
with comment character `#` in your log message, in which case you
with the comment character `#` in your log message, in which case you
would do `git config commit.cleanup whitespace` (note that you will
have to remove the help lines that begin with `#` in the commit log
template yourself, if you do this).
Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/fsck.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Setting an unknown `fsck.<msg-id>` value will cause fsck to die, but
doing the same for `receive.fsck.<msg-id>` and `fetch.fsck.<msg-id>`
will only cause git to warn.
+
See `Fsck Messages` section of linkgit:git-fsck[1] for supported
See the `Fsck Messages` section of linkgit:git-fsck[1] for supported
values of `<msg-id>`.


Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/gc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ See the `gc.bigPackThreshold` configuration variable below. When in
use, it'll affect how the auto pack limit works.

gc.autoDetach::
Make `git gc --auto` return immediately and run in background
Make `git gc --auto` return immediately and run in the background
if the system supports it. Default is true.

gc.bigPackThreshold::
Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/gui.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ gui.matchTrackingBranch::
not. Default: "false".

gui.newBranchTemplate::
Is used as suggested name when creating new branches using the
Is used as a suggested name when creating new branches using the
linkgit:git-gui[1].

gui.pruneDuringFetch::
Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/man.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ man.viewer::
man.<tool>.cmd::
Specify the command to invoke the specified man viewer. The
specified command is evaluated in shell with the man page
passed as argument. (See linkgit:git-help[1].)
passed as an argument. (See linkgit:git-help[1].)

man.<tool>.path::
Override the path for the given tool that may be used to
Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/notes.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
notes.mergeStrategy::
Which merge strategy to choose by default when resolving notes
conflicts. Must be one of `manual`, `ours`, `theirs`, `union`, or
`cat_sort_uniq`. Defaults to `manual`. See "NOTES MERGE STRATEGIES"
`cat_sort_uniq`. Defaults to `manual`. See the "NOTES MERGE STRATEGIES"
section of linkgit:git-notes[1] for more information on each strategy.
+
This setting can be overridden by passing the `--strategy` option to
Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/sendemail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ sendemail.smtpBatchSize::
See also the `--batch-size` option of linkgit:git-send-email[1].

sendemail.smtpReloginDelay::
Seconds to wait before reconnecting to smtp server.
Seconds to wait before reconnecting to the smtp server.
See also the `--relogin-delay` option of linkgit:git-send-email[1].

sendemail.forbidSendmailVariables::
Expand Down
8 changes: 4 additions & 4 deletions Documentation/config/stash.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
stash.showIncludeUntracked::
If this is set to true, the `git stash show` command will show
the untracked files of a stash entry. Defaults to false. See
description of 'show' command in linkgit:git-stash[1].
the description of the 'show' command in linkgit:git-stash[1].

stash.showPatch::
If this is set to true, the `git stash show` command without an
option will show the stash entry in patch form. Defaults to false.
See description of 'show' command in linkgit:git-stash[1].
See the description of the 'show' command in linkgit:git-stash[1].

stash.showStat::
If this is set to true, the `git stash show` command without an
option will show diffstat of the stash entry. Defaults to true.
See description of 'show' command in linkgit:git-stash[1].
option will show a diffstat of the stash entry. Defaults to true.
See the description of the 'show' command in linkgit:git-stash[1].
10 changes: 5 additions & 5 deletions Documentation/diff-generate-patch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ The `a/` and `b/` filenames are the same unless rename/copy is
involved. Especially, even for a creation or a deletion,
`/dev/null` is _not_ used in place of the `a/` or `b/` filenames.
+
When rename/copy is involved, `file1` and `file2` show the
When a rename/copy is involved, `file1` and `file2` show the
name of the source file of the rename/copy and the name of
the file that rename/copy produces, respectively.
the file that the rename/copy produces, respectively.

2. It is followed by one or more extended header lines:

Expand Down Expand Up @@ -89,7 +89,7 @@ produce a 'combined diff' when showing a merge. This is the default
format when showing merges with linkgit:git-diff[1] or
linkgit:git-show[1]. Note also that you can give suitable
`--diff-merges` option to any of these commands to force generation of
diffs in specific format.
diffs in a specific format.

A "combined diff" format looks like this:

Expand Down Expand Up @@ -143,15 +143,15 @@ or like this (when the `--cc` option is used):
The `mode <mode>,<mode>..<mode>` line appears only if at least one of
the <mode> is different from the rest. Extended headers with
information about detected content movement (renames and
copying detection) are designed to work with diff of two
copying detection) are designed to work with the diff of two
<tree-ish> and are not used by combined diff format.

3. It is followed by a two-line from-file/to-file header:

--- a/file
+++ b/file
+
Similar to two-line header for traditional 'unified' diff
Similar to the two-line header for the traditional 'unified' diff
format, `/dev/null` is used to signal created or deleted
files.
+
Expand Down
2 changes: 1 addition & 1 deletion Documentation/fsck-msgids.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
(ERROR) Missing space before date in an author/committer line.

`missingSpaceBeforeEmail`::
(ERROR) Missing space before the email in author/committer line.
(ERROR) Missing space before the email in an author/committer line.

`missingTag`::
(ERROR) Unexpected end after `type` line in a tag object.
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-am.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ OPTIONS
Pass `-u` flag to 'git mailinfo' (see linkgit:git-mailinfo[1]).
The proposed commit log message taken from the e-mail
is re-coded into UTF-8 encoding (configuration variable
`i18n.commitEncoding` can be used to specify project's
`i18n.commitEncoding` can be used to specify the project's
preferred encoding if it is not UTF-8).
+
This was optional in prior versions of git, but now it is the
Expand Down Expand Up @@ -192,7 +192,7 @@ include::rerere-options.txt[]

--abort::
Restore the original branch and abort the patching operation.
Revert contents of files involved in the am operation to their
Revert the contents of files involved in the am operation to their
pre-am state.

--quit::
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-apply.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ linkgit:git-config[1]).
applying a diff generated with `--unified=0`. To bypass these
checks use `--unidiff-zero`.
+
Note, for the reasons stated above usage of context-free patches is
Note, for the reasons stated above the usage of context-free patches is
discouraged.

--apply::
Expand Down Expand Up @@ -257,7 +257,7 @@ the `--unsafe-paths` option to override this safety check. This option
has no effect when `--index` or `--cached` is in use.

--allow-empty::
Don't return error for patches containing no diff. This includes
Don't return an error for patches containing no diff. This includes
empty patches and patches with commit text only.

CONFIGURATION
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-blame.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ include::blame-options.txt[]

-e::
--show-email::
Show the author email instead of author name (Default: off).
Show the author email instead of the author name (Default: off).
This can also be controlled via the `blame.showEmail` config
option.

Expand All @@ -100,7 +100,7 @@ When neither `--porcelain` nor `--incremental` option is specified,
`git blame` will output annotation for each line with:

- abbreviated object name for the commit the line came from;
- author ident (by default author name and date, unless `-s` or `-e`
- author ident (by default the author name and date, unless `-s` or `-e`
is specified); and
- line number

Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-check-ref-format.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ The rule `git check-ref-format --branch $name` implements
may be stricter than what `git check-ref-format refs/heads/$name`
says (e.g. a dash may appear at the beginning of a ref component,
but it is explicitly forbidden at the beginning of a branch name).
When run with `--branch` option in a repository, the input is first
When run with the `--branch` option in a repository, the input is first
expanded for the ``previous checkout syntax''
`@{-n}`. For example, `@{-1}` is a way to refer the last thing that
was checked out using "git switch" or "git checkout" operation.
Expand Down
6 changes: 3 additions & 3 deletions Documentation/git-checkout-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ OPTIONS

--stage=<number>|all::
Instead of checking out unmerged entries, copy out the
files from named stage. <number> must be between 1 and 3.
files from the named stage. <number> must be between 1 and 3.
Note: --stage=all automatically implies --temp.

--temp::
Expand All @@ -66,8 +66,8 @@ OPTIONS
set.

--stdin::
Instead of taking list of paths from the command line,
read list of paths from the standard input. Paths are
Instead of taking a list of paths from the command line,
read the list of paths from the standard input. Paths are
separated by LF (i.e. one path per line) by default.

-z::
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-count-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
prune-packable: the number of loose objects that are also present in
the packs. These objects could be pruned using `git prune-packed`.
+
garbage: the number of files in object database that are neither valid loose
garbage: the number of files in the object database that are neither valid loose
objects nor valid packs
+
size-garbage: disk space consumed by garbage files, in KiB (unless -H is
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-daemon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ otherwise `stderr`.
--user-path::
--user-path=<path>::
Allow {tilde}user notation to be used in requests. When
specified with no parameter, requests to
specified with no parameter, a request to
git://host/{tilde}alice/foo is taken as a request to access
'foo' repository in the home directory of user `alice`.
If `--user-path=path` is specified, the same request is
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-diff-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ commits (but not trees).
By default, 'git diff-tree --stdin' shows differences,
either in machine-readable form (without `-p`) or in patch
form (with `-p`). This output can be suppressed. It is
only useful with `-v` flag.
only useful with the `-v` flag.

-v::
This flag causes 'git diff-tree --stdin' to also show
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-difftool.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ OPTIONS

--rotate-to=<file>::
Start showing the diff for the given path,
the paths before it will move to end and output.
the paths before it will move to the end and output.

--skip-to=<file>::
Start showing the diff for the given path, skipping all
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-fsck.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OPTIONS
An object to treat as the head of an unreachability trace.
+
If no objects are given, 'git fsck' defaults to using the
index file, all SHA-1 references in `refs` namespace, and all reflogs
index file, all SHA-1 references in the `refs` namespace, and all reflogs
(unless --no-reflogs is given) as heads.

--unreachable::
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pseudo-configuration such as the file-based `.git/hooks/*` interface
described in linkgit:githooks[5].

--developer-interfaces::
Print list of file formats, protocols and other developer
Print a list of file formats, protocols and other developer
interfaces documentation on the standard output.

-i::
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-http-push.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ SYNOPSIS

DESCRIPTION
-----------
Sends missing objects to remote repository, and updates the
Sends missing objects to the remote repository, and updates the
remote branch.

*NOTE*: This command is temporarily disabled if your libcurl
is older than 7.16, as the combination has been reported
not to work and sometimes corrupts repository.
not to work and sometimes corrupts the repository.

OPTIONS
-------
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-init.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ DIRECTORY" section below.)

Instead of initializing the repository as a directory to either `$GIT_DIR` or
`./.git/`, create a text file there containing the path to the actual
repository. This file acts as filesystem-agnostic Git symbolic link to the
repository. This file acts as a filesystem-agnostic Git symbolic link to the
repository.
+
If this is reinitialization, the repository will be moved to the specified path.
If this is a reinitialization, the repository will be moved to the specified path.

-b <branch-name>::
--initial-branch=<branch-name>::
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-mailsplit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ OPTIONS

-b::
If any file doesn't begin with a From line, assume it is a
single mail message instead of signaling error.
single mail message instead of signaling an error.

-d<prec>::
Instead of the default 4 digits with leading zeros,
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-merge-base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SYNOPSIS
DESCRIPTION
-----------

'git merge-base' finds best common ancestor(s) between two commits to use
'git merge-base' finds the best common ancestor(s) between two commits to use
in a three-way merge. One common ancestor is 'better' than another common
ancestor if the latter is an ancestor of the former. A common ancestor
that does not have any better common ancestor is a 'best common
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-merge-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ DESCRIPTION
This command has a modern `--write-tree` mode and a deprecated
`--trivial-merge` mode. With the exception of the
<<DEPMERGE,DEPRECATED DESCRIPTION>> section at the end, the rest of
this documentation describes modern `--write-tree` mode.
this documentation describes the modern `--write-tree` mode.

Performs a merge, but does not make any new commits and does not read
from or write to either the working tree or index.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-mktag.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ has a very simple fixed format: four lines of
tagger <tagger>

followed by some 'optional' free-form message (some tags created
by older Git may not have `tagger` line). The message, when it
by older Git may not have a `tagger` line). The message, when it
exists, is separated by a blank line from the header. The
message part may contain a signature that Git itself doesn't
care about, but that can be verified with gpg.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-prune.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ NOTE: In most cases, users should run 'git gc', which calls
'git prune'. See the section "NOTES", below.

This runs 'git fsck --unreachable' using all the refs
available in `refs/`, optionally with additional set of
available in `refs/`, optionally with an additional set of
objects specified on the command line, and prunes all unpacked
objects unreachable from any of these head objects from the object database.
In addition, it
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-push.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ local one.
OPTIONS[[OPTIONS]]
------------------
<repository>::
The "remote" repository that is destination of a push
The "remote" repository that is the destination of a push
operation. This parameter can be either a URL
(see the section <<URLS,GIT URLS>> below) or the name
of a remote (see the section <<REMOTES,REMOTES>> below).
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-read-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ flag. When used with `-m`, the `-u` flag causes it to also update
the files in the work tree with the result of the merge.

Only trivial merges are done by 'git read-tree' itself. Only conflicting paths
will be in unmerged state when 'git read-tree' returns.
will be in an unmerged state when 'git read-tree' returns.

OPTIONS
-------
-m::
Perform a merge, not just a read. The command will
refuse to run if your index file has unmerged entries,
indicating that you have not finished previous merge you
indicating that you have not finished a previous merge you
started.

--reset::
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-receive-pack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ information fed from the remote end.

This command is usually not invoked directly by the end user.
The UI for the protocol is on the 'git send-pack' side, and the
program pair is meant to be used to push updates to remote
program pair is meant to be used to push updates to a remote
repository. For pull operations, see linkgit:git-fetch-pack[1].

The command allows for creation and fast-forwarding of sha1 refs
The command allows for the creation and fast-forwarding of sha1 refs
(heads/tags) on the remote end (strictly speaking, it is the
local end 'git-receive-pack' runs, but to the user who is sitting at
the send-pack end, it is updating the remote. Confused?)
Expand Down
Loading

0 comments on commit 0a4f051

Please sign in to comment.