]> git.ipfire.org Git - thirdparty/git.git/commitdiff
global: Fix duplicate word typos
authorSven Strickroth <email@cs-ware.de>
Mon, 21 Oct 2024 15:12:26 +0000 (17:12 +0200)
committerTaylor Blau <me@ttaylorr.com>
Mon, 21 Oct 2024 20:05:04 +0000 (16:05 -0400)
Used regex to find these typos:

    (?<!struct )(?<=\s)([a-z]{1,}) \1(?=\s)

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Documentation/RelNotes/2.45.0.txt
Documentation/RelNotes/2.46.0.txt
Documentation/git-format-patch.txt
Documentation/gitprotocol-v2.txt
Documentation/howto/keep-canonical-history-correct.txt
builtin/difftool.c
ci/lib.sh
fsmonitor.c
oidtree.c
read-cache-ll.h
refs/reftable-backend.c

index fec193679f7048fbbf0278ba9256898243af3336..aa0315259b7fa1aa3fc7d09cddf60ef33a78d814 100644 (file)
@@ -9,7 +9,7 @@ UI, Workflows & Features
    With "git init --ref-format=reftable", hopefully it would be a lot
    more efficient to manage a repository with many references.
 
- * "git checkout -p" and friends learned that that "@" is a synonym
+ * "git checkout -p" and friends learned that "@" is a synonym
    for "HEAD".
 
  * Variants of vimdiff learned to honor mergetool.<variant>.layout
index b25475918a08c7cb831674a18d659579187cb47b..c06a04a91bced8d241c7e06245e9dfa518d3443b 100644 (file)
@@ -78,7 +78,7 @@ UI, Workflows & Features
    turn on cover letters automatically (unless told never to enable
    cover letter with "--no-cover-letter" and such).
 
- * The "--heads" option of "ls-remote" and "show-ref" has been been
+ * The "--heads" option of "ls-remote" and "show-ref" has been
    deprecated; "--branches" replaces "--heads".
 
  * For over a year, setting add.interactive.useBuiltin configuration
index 8708b3159309d5f080f3adbc30168a8bc5070f05..5dc7bb4cfc3e4b0b4a1ef131a5d5913acf378841 100644 (file)
@@ -250,7 +250,7 @@ is not complete yet ("WIP" stands for "Work In Progress").
 +
 If the convention of the receiving community for a particular extra
 string is to have it _after_ the subject prefix, the string _<rfc>_
-can be prefixed with a dash ("`-`") to signal that the the rest of
+can be prefixed with a dash ("`-`") to signal that the rest of
 the _<rfc>_ string should be appended to the subject prefix instead,
 e.g., `--rfc='-(WIP)'` results in "PATCH (WIP)".
 
index ca83b2ecc545bf1438413d67516c98c9f6abd7bf..1652fef3aeb166412e525811a634436229afd459 100644 (file)
@@ -776,7 +776,7 @@ This would allow for optimizing the common case of servers who'd like
 to provide one "big bundle" containing only their "main" branch,
 and/or incremental updates thereof.
 +
-A client receiving such a response MAY assume that they can skip
+A client receiving such a response MAY assume that they can skip
 retrieving the header from a bundle at the indicated URI, and thus
 save themselves and the server(s) the request(s) needed to inspect the
 headers of that bundle or bundles.
index 5f800fd85a3dbd4218bb0aaa2bd4de08a3c71434..e98f03275e2437e53a67ce7d6d30b2162f56fa87 100644 (file)
@@ -13,7 +13,7 @@ that appears to be "backwards" from what other project developers
 expect. This howto presents a suggested integration workflow for
 maintaining a central repository.
 
-Suppose that that central repository has this history:
+Suppose that the central repository has this history:
 
 ------------
     ---o---o---A
index 5772e82106b33971f8018fb1a099a3e20a754549..ca1b0890659b5204dcbc9ee98563fcf1b6ee44aa 100644 (file)
@@ -340,7 +340,7 @@ static void write_file_in_directory(struct strbuf *dir, size_t dir_len,
 /* Write the file contents for the left and right sides of the difftool
  * dir-diff representation for submodules and symlinks. Symlinks and submodules
  * are written as regular text files so that external diff tools can diff them
- * as text files, resulting in behavior that is analogous to to what "git diff"
+ * as text files, resulting in behavior that is analogous to what "git diff"
  * displays for symlink and submodule diffs.
  */
 static void write_standin_files(struct pair_entry *entry,
index 74b430be2387ac1af2fc382e158cdd36df70b9d4..bfa1fe370bf75048aed82d0df0799f05a800d719 100755 (executable)
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -62,7 +62,7 @@ trap "end_group 'CI setup'" EXIT
 # something went wrong.
 #
 # We already enabled tracing executed commands earlier. This helps by showing
-# how # environment variables are set and and dependencies are installed.
+# how # environment variables are set and dependencies are installed.
 set -e
 
 skip_branch_tip_with_tag () {
index 237ca59d004582de93624477259f9da595af05ce..309a2541cbeebe142096176c213056872a0aae6f 100644 (file)
@@ -247,7 +247,7 @@ static size_t handle_using_name_hash_icase(
         * technically this is a tracked file or a sparse-directory.
         * It should not have any entries in the untracked-cache, so
         * we should not need to use the case-corrected spelling to
-        * invalidate the the untracked-cache.  So we may not need to
+        * invalidate the untracked-cache.  So we may not need to
         * do this.  For now, I'm going to be conservative and always
         * do it; we can revisit this later.
         */
index 92d03b52dbe13f1b84a35d89356b0d5d83d3fbbe..151568f74fbf13a53451a91b476946d0e08ed3dd 100644 (file)
--- a/oidtree.c
+++ b/oidtree.c
@@ -47,7 +47,7 @@ void oidtree_insert(struct oidtree *ot, const struct object_id *oid)
 
        /*
         * n.b. Current callers won't get us duplicates, here.  If a
-        * future caller causes duplicates, there'll be a small leak
+        * future caller causes duplicates, there'll be a small leak
         * that won't be freed until oidtree_clear.  Currently it's not
         * worth maintaining a free list
         */
index b5d11d07a869629070c1f42084c810b7d0bb8ef6..71b49d9af48a9db3faf30b2f23ecd9206dc4160b 100644 (file)
@@ -196,7 +196,7 @@ struct index_state {
  *
  * If the variable won't be used again, use release_index() to free()
  * its resources. If it needs to be used again use discard_index(),
- * which does the same thing, but will use use index_state_init() at
+ * which does the same thing, but will use index_state_init() at
  * the end. The discard_index() will use its own "istate->repo" as the
  * "r" argument to index_state_init() in that case.
  */
index 3c6107c7ce5380bbbb526e835979ba9289b7dd22..38eb14d591ec0c7c221b6b0f7483e547748e7f1c 100644 (file)
@@ -2131,7 +2131,7 @@ static int write_reflog_existence_table(struct reftable_writer *writer,
        reftable_writer_set_limits(writer, ts, ts);
 
        /*
-        * The existence entry has both old and new object ID set to the the
+        * The existence entry has both old and new object ID set to the
         * null object ID. Our iterators are aware of this and will not present
         * them to their callers.
         */