]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation: fix various repeat word typos
authorJacob Stopak <jacob@initialcommit.io>
Sun, 11 Sep 2022 10:23:20 +0000 (03:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Sep 2022 18:04:55 +0000 (11:04 -0700)
Inspired by 24966cd982 ("doc: fix repeated words", 08-09-2019),
I ran "egrep -R "\<([a-zA-Z]+)\> \<\1\>" ./Documentation/*" to
find current cases of repeated words such as "the the" that were
quite clearly typos.

There were many false positives reported, such as "really really"
or valid uses of "that that" which I left alone.

Signed-off-by: Jacob Stopak <jacob@initialcommit.io>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/CodingGuidelines
Documentation/config/transfer.txt
Documentation/git-bundle.txt
Documentation/git-update-index.txt
Documentation/git-upload-pack.txt
Documentation/technical/remembering-renames.txt

index 4c756be517acbfb0e18daf30bf65cb177dacef20..9fca21cc5f9958fdfd044c5d34a2c142c87de51a 100644 (file)
@@ -606,7 +606,7 @@ Writing Documentation:
     avoidance of gendered pronouns.
 
   - When it becomes awkward to stick to this style, prefer "you" when
-    addressing the the hypothetical user, and possibly "we" when
+    addressing the hypothetical user, and possibly "we" when
     discussing how the program might react to the user.  E.g.
 
       You can use this option instead of --xyz, but we might remove
index 7ed917f5fc5f1b2eb67663f7176825bffabf0ef4..264812cca4db9a0a7b70be3eed7703d3439c9f46 100644 (file)
@@ -13,7 +13,7 @@ Note that this is currently limited to detecting credentials in
 You might want to enable this to prevent inadvertent credentials
 exposure, e.g. because:
 +
-* The OS or system where you're running git may not provide way way or
+* The OS or system where you're running git may not provide a way or
   otherwise allow you to configure the permissions of the
   configuration file where the username and/or password are stored.
 * Even if it does, having such data stored "at rest" might expose you
index 6da617224312315fa85efd912d91e521397f604a..18a022b4b40c345040c23e83bed1fd1983bd725e 100644 (file)
@@ -42,7 +42,7 @@ BUNDLE FORMAT
 Bundles are `.pack` files (see linkgit:git-pack-objects[1]) with a
 header indicating what references are contained within the bundle.
 
-Like the the packed archive format itself bundles can either be
+Like the packed archive format itself bundles can either be
 self-contained, or be created using exclusions.
 See the "OBJECT PREREQUISITES" section below.
 
index 5ea2f2c60e45a3c91422fcaa2457c100f450fb71..f4bb9c5daf95c6669210429d7a560565dadc91d5 100644 (file)
@@ -420,7 +420,7 @@ as `switch`, `pull`, `merge`) will avoid writing these files.
 However, these commands will sometimes write these files anyway in
 important cases such as conflicts during a merge or rebase.  Git
 commands will also avoid treating the lack of such files as an
-intentional deletion; for example `git add -u` will not not stage a
+intentional deletion; for example `git add -u` will not stage a
 deletion for these files and `git commit -a` will not make a commit
 deleting them either.
 
index 3f89d64077231014a1fd418d00a97c4710db2c3b..b656b4756752f6d91098b85d2766a80e86ca092a 100644 (file)
@@ -40,7 +40,7 @@ OPTIONS
        Used by linkgit:git-http-backend[1] to serve up
        `$GIT_URL/info/refs?service=git-upload-pack` requests. See
        "Smart Clients" in linkgit:gitprotocol-http[5] and "HTTP
-       Transport" in in the linkgit:gitprotocol-v2[5]
+       Transport" in the linkgit:gitprotocol-v2[5]
        documentation. Also understood by
        linkgit:git-receive-pack[1].
 
index 2fd5cc88e0b808c75344b4e3e7ba80d2e1938c3f..af091a7556a4efa16b5b76f0d85484c258a0d5da 100644 (file)
@@ -20,7 +20,7 @@ Outline:
   3. Why any rename on MERGE_SIDE1 in any given pick is _almost_ always also
      a rename on MERGE_SIDE1 for the next pick
 
-  4. A detailed description of the the counter-examples to #3.
+  4. A detailed description of the counter-examples to #3.
 
   5. Why the special cases in #4 are still fully reasonable to use to pair
      up files for three-way content merging in the merge machinery, and why