]> git.ipfire.org Git - thirdparty/git.git/commitdiff
documentation: use clearer prepositions
authorElijah Newren <newren@gmail.com>
Sun, 8 Oct 2023 06:45:20 +0000 (06:45 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Oct 2023 19:06:29 +0000 (12:06 -0700)
Diff best viewed with --color-diff.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 files changed:
Documentation/SubmittingPatches
Documentation/config/branch.txt
Documentation/config/i18n.txt
Documentation/diff-generate-patch.txt
Documentation/git-am.txt
Documentation/git-diff-files.txt
Documentation/git-fsmonitor--daemon.txt
Documentation/git-hook.txt
Documentation/git-merge-base.txt
Documentation/git-mergetool.txt
Documentation/git-request-pull.txt
Documentation/git-rev-parse.txt
Documentation/git-show-branch.txt
Documentation/git-update-index.txt

index 973d7a81d4492d627c77ce3c6db105ae917fb957..0e2d3fbb9ccd6ce572f62c5d502da0ee76188efb 100644 (file)
@@ -87,7 +87,7 @@ maintainer.
 Under truly exceptional circumstances where you absolutely must depend
 on a select few topic branches that are already in `next` but not in
 `master`, you may want to create your own custom base-branch by forking
-`master` and merging the required topic branches to it. You could then
+`master` and merging the required topic branches into it. You could then
 work on top of this base-branch.  But keep in mind that this base-branch
 would only be known privately to you.  So when you are ready to send
 your patches to the list, be sure to communicate how you created it in
index 3bec6daf71ab9f253a3b86069a22d84ef7f9c0be..432b9cd2c0e66721c135a14bd4e3f09dee6bcc92 100644 (file)
@@ -99,5 +99,5 @@ for details).
 branch.<name>.description::
        Branch description, can be edited with
        `git branch --edit-description`. Branch description is
-       automatically added in the format-patch cover letter or
+       automatically added to the format-patch cover letter or
        request-pull summary.
index cc256217317c666f79cc8d39604643d1fcb32b6a..6e72fdb45bd0cde5ca5e90ba189d8a6696df8ef2 100644 (file)
@@ -2,7 +2,7 @@ i18n.commitEncoding::
        Character encoding the commit messages are stored in; Git itself
        does not care per se, but this information is necessary e.g. when
        importing commits from emails or in the gitk graphical history
-       browser (and possibly at other places in the future or in other
+       browser (and possibly in other places in the future or in other
        porcelains). See e.g. linkgit:git-mailinfo[1]. Defaults to 'utf-8'.
 
 i18n.logOutputEncoding::
index cf1958ca632df301cf5584d1bf1f88f91393a717..988e33de70b5c48018cc97a46e48ba89185f37f6 100644 (file)
@@ -17,7 +17,7 @@ You can customize the creation of patch text via the
 What the -p option produces is slightly different from the traditional
 diff format:
 
-1.   It is preceded with a "git diff" header that looks like this:
+1.   It is preceded by a "git diff" header that looks like this:
 
        diff --git a/file1 b/file2
 +
@@ -123,7 +123,7 @@ index fabadb8,cc95eb0..4866510
                for_each_ref(get_name);
 ------------
 
-1.   It is preceded with a "git diff" header, that looks like
+1.   It is preceded by a "git diff" header, that looks like
      this (when the `-c` option is used):
 
        diff --combined file
index 00a5ec206d63fff04b4691c5656dd2c5fdee62cb..2ada047b6aa58ce10497c54147d31d72ff8a656f 100644 (file)
@@ -69,7 +69,7 @@ OPTIONS
 --empty=(stop|drop|keep)::
        By default, or when the option is set to 'stop', the command
        errors out on an input e-mail message lacking a patch
-       and stops into the middle of the current am session. When this
+       and stops in the middle of the current am session. When this
        option is set to 'drop', skip such an e-mail message instead.
        When this option is set to 'keep', create an empty commit,
        recording the contents of the e-mail message as its log.
index 591e3801b7b164cfdf412864cee46a7612b21fd2..18f7f86bef3b1498edd4e7b8fb739e84de6e2d86 100644 (file)
@@ -42,7 +42,7 @@ omit diff output for unmerged entries and just show "Unmerged".
        commit with these flags.
 
 -q::
-       Remain silent even on nonexistent files
+       Remain silent even for nonexistent files
 
 
 include::diff-format.txt[]
index f50a28b09f9cba9fd6544eac3a37c371e1a20d5b..324299bfe9b5aa336ec92da3c5b4e5eac8a9d357 100644 (file)
@@ -70,7 +70,7 @@ the change (as happening against the super repo).  However, the client
 will properly ignore these extra events, so performance may be affected
 but it will not cause an incorrect result.
 
-By default, the fsmonitor daemon refuses to work against network-mounted
+By default, the fsmonitor daemon refuses to work with network-mounted
 repositories; this may be overridden by setting `fsmonitor.allowRemote` to
 `true`. Note, however, that the fsmonitor daemon is not guaranteed to work
 correctly with all network-mounted repositories and such use is considered
index 3407f3c2c078264505d28455c93c6ec5424234b1..25237330b5cd6e1c37ffbf0d99c9bab4e9c9ade2 100644 (file)
@@ -13,7 +13,7 @@ SYNOPSIS
 DESCRIPTION
 -----------
 
-A command interface to running git hooks (see linkgit:githooks[5]),
+A command interface for running git hooks (see linkgit:githooks[5]),
 for use by other scripted git commands.
 
 SUBCOMMANDS
index 5cdcb5663cd3db7dcb464c828f8884b9b400aeed..cbc77f72588b5c780a32eae9cbabe08803acb353 100644 (file)
@@ -28,7 +28,7 @@ merge base for a pair of commits.
 OPERATION MODES
 ---------------
 
-As the most common special case, specifying only two commits on the
+In the most common special case, specifying only two commits on the
 command line means computing the merge base between the given two commits.
 
 More generally, among the two commits to compute the merge base from,
@@ -64,7 +64,7 @@ from linkgit:git-show-branch[1] when used with the `--merge-base` option.
        the two commits, but also takes into account the reflog of
        <ref> to see if the history leading to <commit> forked from
        an earlier incarnation of the branch <ref> (see discussion
-       on this mode below).
+       of this mode below).
 
 OPTIONS
 -------
index 800a3cbe6f3bea83e4ecf8e14d763227de4ab190..7b7b6f8f344e150a807ca6e38e452bd730b54030 100644 (file)
@@ -17,7 +17,7 @@ Use `git mergetool` to run one of several merge utilities to resolve
 merge conflicts.  It is typically run after 'git merge'.
 
 If one or more <file> parameters are given, the merge tool program will
-be run to resolve differences on each file (skipping those without
+be run to resolve differences in each file (skipping those without
 conflicts).  Specifying a directory will include all unresolved files in
 that path.  If no <file> names are specified, 'git mergetool' will run
 the merge tool program on every file with merge conflicts.
index fa5a42670929a9994b7d3580e1e3c76a69b0ab6a..d274002666ca4bc7759f65891db640d6df6d49a4 100644 (file)
@@ -50,7 +50,7 @@ EXAMPLES
 --------
 
 Imagine that you built your work on your `master` branch on top of
-the `v1.0` release, and want it to be integrated to the project.
+the `v1.0` release, and want it to be integrated into the project.
 First you push that change to your public repository for others to
 see:
 
index f42fb93870568fe2923c32be84cd69530fa9461c..912fab9f5e00b6e286b1d80a8164d76224408682 100644 (file)
@@ -383,7 +383,7 @@ Each line of options has this format:
        dash to separate words in a multi-word argument hint.
 
 The remainder of the line, after stripping the spaces, is used
-as the help associated to the option.
+as the help associated with the option.
 
 Blank lines are ignored, and lines that don't match this specification are used
 as option group headers (start the line with a space to create such
index ddf24aeb87d89a2d670c099865b1d9920bf43947..4ef0872b4633e3cc857517f9d62ff00d695d8ef3 100644 (file)
@@ -50,7 +50,7 @@ OPTIONS
 
 --current::
        With this option, the command includes the current
-       branch to the list of revs to be shown when it is not
+       branch in the list of revs to be shown when it is not
        given on the command line.
 
 --topo-order::
@@ -197,7 +197,7 @@ $ git show-branch --reflog="10,1 hour ago" --list master
 
 shows 10 reflog entries going back from the tip as of 1 hour ago.
 Without `--list`, the output also shows how these tips are
-topologically related with each other.
+topologically related to each other.
 
 CONFIGURATION
 -------------
index 7ac2e37c0ac7cd44ff5a085e103ed01b4a4a5e6f..e030dd75bede479f4343a8c0c1519c8ed3d72467 100644 (file)
@@ -127,7 +127,7 @@ you will need to handle the situation manually.
 -g::
 --again::
        Runs 'git update-index' itself on the paths whose index
-       entries are different from those from the `HEAD` commit.
+       entries are different from those of the `HEAD` commit.
 
 --unresolve::
        Restores the 'unmerged' or 'needs updating' state of a