Skip to content

Commit 4d54268

Browse files
newrengitster
authored andcommitted
documentation: add some commas where they are helpful
Diff best viewed with --color-diff. Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 42bdb80 commit 4d54268

37 files changed

+66
-66
lines changed

Documentation/ToolsForGit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tools for developing Git
55
[[summary]]
66
== Summary
77

8-
This document gathers tips, scripts and configuration files to help people
8+
This document gathers tips, scripts, and configuration files to help people
99
working on Git's codebase use their favorite tools while following Git's
1010
coding style.
1111

Documentation/config/clean.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
clean.requireForce::
22
A boolean to make git-clean do nothing unless given -f,
3-
-i or -n. Defaults to true.
3+
-i, or -n. Defaults to true.

Documentation/config/color.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ color.grep.<slot>::
106106
matching text in context lines
107107
`matchSelected`;;
108108
matching text in selected lines. Also, used to customize the following
109-
linkgit:git-log[1] subcommands: `--grep`, `--author` and `--committer`.
109+
linkgit:git-log[1] subcommands: `--grep`, `--author`, and `--committer`.
110110
`selected`;;
111111
non-matching text in selected lines. Also, used to customize the
112112
following linkgit:git-log[1] subcommands: `--grep`, `--author` and

Documentation/config/credential.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ credential.username::
2121

2222
credential.<url>.*::
2323
Any of the credential.* options above can be applied selectively to
24-
some credentials. For example "credential.https://example.com.username"
24+
some credentials. For example, "credential.https://example.com.username"
2525
would set the default username only for https connections to
2626
example.com. See linkgit:gitcredentials[7] for details on how URLs are
2727
matched.

Documentation/config/fastimport.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
fastimport.unpackLimit::
22
If the number of objects imported by linkgit:git-fast-import[1]
33
is below this limit, then the objects will be unpacked into
4-
loose object files. However if the number of imported objects
5-
equals or exceeds this limit then the pack will be stored as a
4+
loose object files. However, if the number of imported objects
5+
equals or exceeds this limit, then the pack will be stored as a
66
pack. Storing the pack from a fast-import can make the import
77
operation complete faster, especially on slow filesystems. If
88
not set, the value of `transfer.unpackLimit` is used instead.

Documentation/config/fsck.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ The rest of the documentation discusses `fsck.*` for brevity, but the
1313
same applies for the corresponding `receive.fsck.*` and
1414
`fetch.fsck.*`. variables.
1515
+
16-
Unlike variables like `color.ui` and `core.editor` the
16+
Unlike variables like `color.ui` and `core.editor`, the
1717
`receive.fsck.<msg-id>` and `fetch.fsck.<msg-id>` variables will not
1818
fall back on the `fsck.<msg-id>` configuration if they aren't set. To
19-
uniformly configure the same fsck settings in different circumstances
19+
uniformly configure the same fsck settings in different circumstances,
2020
all three of them must be set to the same values.
2121
+
2222
When `fsck.<msg-id>` is set, errors can be switched to warnings and
@@ -43,12 +43,12 @@ values of `<msg-id>`.
4343
fsck.skipList::
4444
The path to a list of object names (i.e. one unabbreviated SHA-1 per
4545
line) that are known to be broken in a non-fatal way and should
46-
be ignored. On versions of Git 2.20 and later comments ('#'), empty
46+
be ignored. On versions of Git 2.20 and later, comments ('#'), empty
4747
lines, and any leading and trailing whitespace are ignored. Everything
4848
but a SHA-1 per line will error out on older versions.
4949
+
5050
This feature is useful when an established project should be accepted
51-
despite early commits containing errors that can be safely ignored
51+
despite early commits containing errors that can be safely ignored,
5252
such as invalid committer email addresses. Note: corrupt objects
5353
cannot be skipped with this setting.
5454
+
@@ -58,7 +58,7 @@ Like `fsck.<msg-id>` this variable has corresponding
5858
Unlike variables like `color.ui` and `core.editor` the
5959
`receive.fsck.skipList` and `fetch.fsck.skipList` variables will not
6060
fall back on the `fsck.skipList` configuration if they aren't set. To
61-
uniformly configure the same fsck settings in different circumstances
61+
uniformly configure the same fsck settings in different circumstances,
6262
all three of them must be set to the same values.
6363
+
6464
Older versions of Git (before 2.20) documented that the object names

Documentation/config/log.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ log.date::
99
`--date` option. See linkgit:git-log[1] for details.
1010
+
1111
If the format is set to "auto:foo" and the pager is in use, format
12-
"foo" will be used for the date format. Otherwise "default" will
12+
"foo" will be used for the date format. Otherwise, "default" will
1313
be used.
1414

1515
log.decorate::

Documentation/config/merge.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ merge.conflictStyle::
77
marker and the original text before the `=======` marker. The
88
"merge" style tends to produce smaller conflict regions than diff3,
99
both because of the exclusion of the original text, and because
10-
when a subset of lines match on the two sides they are just pulled
10+
when a subset of lines match on the two sides, they are just pulled
1111
out of the conflict region. Another alternate style, "zdiff3", is
1212
similar to diff3 but removes matching lines on the two sides from
1313
the conflict region when those matching lines appear near either

Documentation/config/mergetool.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ mergetool.<tool>.trustExitCode::
2222
For a custom merge command, specify whether the exit code of
2323
the merge command can be used to determine whether the merge was
2424
successful. If this is not set to true then the merge target file
25-
timestamp is checked and the merge is assumed to have been successful
26-
if the file has been updated, otherwise the user is prompted to
25+
timestamp is checked, and the merge is assumed to have been successful
26+
if the file has been updated; otherwise, the user is prompted to
2727
indicate the success of the merge.
2828

2929
mergetool.meld.hasOutput::
@@ -37,7 +37,7 @@ mergetool.meld.hasOutput::
3737

3838
mergetool.meld.useAutoMerge::
3939
When the `--auto-merge` is given, meld will merge all non-conflicting
40-
parts automatically, highlight the conflicting parts and wait for
40+
parts automatically, highlight the conflicting parts, and wait for
4141
user decision. Setting `mergetool.meld.useAutoMerge` to `true` tells
4242
Git to unconditionally use the `--auto-merge` option with `meld`.
4343
Setting this value to `auto` makes git detect whether `--auto-merge`
@@ -55,7 +55,7 @@ endif::[]
5555
for details.
5656

5757
mergetool.hideResolved::
58-
During a merge Git will automatically resolve as many conflicts as
58+
During a merge, Git will automatically resolve as many conflicts as
5959
possible and write the 'MERGED' file containing conflict markers around
6060
any conflicts that it cannot resolve; 'LOCAL' and 'REMOTE' normally
6161
represent the versions of the file from before Git's conflict
@@ -74,7 +74,7 @@ mergetool.keepTemporaries::
7474
When invoking a custom merge tool, Git uses a set of temporary
7575
files to pass to the tool. If the tool returns an error and this
7676
variable is set to `true`, then these temporary files will be
77-
preserved, otherwise they will be removed after the tool has
77+
preserved; otherwise, they will be removed after the tool has
7878
exited. Defaults to `false`.
7979

8080
mergetool.writeToTemp::

Documentation/config/push.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ new default).
6767
--
6868

6969
push.followTags::
70-
If set to true enable `--follow-tags` option by default. You
70+
If set to true, enable `--follow-tags` option by default. You
7171
may override this configuration at time of push by specifying
7272
`--no-follow-tags`.
7373

0 commit comments

Comments
 (0)