Skip to content

Commit

Permalink
documentation: fix punctuation
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 9a9fd28 commit f4e1851
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Documentation/config/format.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ format.encodeEmailHeaders::
Defaults to true.

format.pretty::
The default pretty format for log/show/whatchanged command,
The default pretty format for log/show/whatchanged command.
See linkgit:git-log[1], linkgit:git-show[1],
linkgit:git-whatchanged[1].

Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/fsck.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ uniformly configure the same fsck settings in different circumstances
all three of them must be set to the same values.
+
Older versions of Git (before 2.20) documented that the object names
list should be sorted. This was never a requirement, the object names
list should be sorted. This was never a requirement; the object names
could appear in any order, but when reading the list we tracked whether
the list was sorted for the purposes of an internal binary search
implementation, which could save itself some work with an already sorted
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-fsmonitor--daemon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ but not on network-mounted filesystems, NTFS, or FAT32. Other filesystems
may or may not have the needed support; the fsmonitor daemon is not guaranteed
to work with these filesystems and such use is considered experimental.

By default, the socket is created in the `.git` directory, however, if the
By default, the socket is created in the `.git` directory. However, if the
`.git` directory is on a network-mounted filesystem, it will instead be
created at `$HOME/.git-fsmonitor-*` unless `$HOME` itself is on a
network-mounted filesystem in which case you must set the configuration
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-init.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ to use instead of `./.git` for the base of the repository.

If the object storage directory is specified via the
`$GIT_OBJECT_DIRECTORY` environment variable then the sha1 directories
are created underneath - otherwise the default `$GIT_DIR/objects`
are created underneath; otherwise, the default `$GIT_DIR/objects`
directory is used.

Running 'git init' in an existing repository is safe. It will not
Expand Down
4 changes: 2 additions & 2 deletions Documentation/git-ls-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ OPTIONS
matching an exclude pattern. When showing "other" files
(i.e. when used with '-o'), show only those matched by an
exclude pattern. Standard ignore rules are not automatically
activated, therefore at least one of the `--exclude*` options
activated; therefore, at least one of the `--exclude*` options
is required.

-s::
Expand Down Expand Up @@ -141,7 +141,7 @@ OPTIONS
Show status tags together with filenames. Note that for
scripting purposes, linkgit:git-status[1] `--porcelain` and
linkgit:git-diff-files[1] `--name-status` are almost always
superior alternatives, and users should look at
superior alternatives; users should look at
linkgit:git-status[1] `--short` or linkgit:git-diff[1]
`--name-status` for more user-friendly alternatives.
+
Expand Down

0 comments on commit f4e1851

Please sign in to comment.