]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Remove doubled words in various comments
authorElijah Newren <newren@gmail.com>
Tue, 28 Jul 2020 20:45:38 +0000 (20:45 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jul 2020 21:28:14 +0000 (14:28 -0700)
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsmonitor.c
t/t5510-fetch.sh
t/t6046-merge-skip-unneeded-updates.sh
t/t8014-blame-ignore-fuzzy.sh
wt-status.c

index 932bd9012daf9eb91dd445374f52a78ceade918b..ed796e3e03a4c7132e7329d729b57cdae3cf9da6 100644 (file)
@@ -217,7 +217,7 @@ void refresh_fsmonitor(struct index_state *istate)
                                 * Need to use a char * variable because static
                                 * analysis was suggesting to use strbuf_addbuf
                                 * but we don't want to copy the entire strbuf
-                                * only the the chars up to the first NUL
+                                * only the chars up to the first NUL
                                 */
                                buf = query_result.buf;
                                strbuf_addstr(&last_update_token, buf);
index a66dbe0bde0df2851c3736d193707ec7c36bd429..7456c567cd1857a05703801b8f14fa78938b3f7a 100755 (executable)
@@ -797,7 +797,7 @@ test_configured_prune true  true  unset unset pruned pruned \
        "--prune origin refs/tags/*:refs/tags/* +refs/heads/*:refs/remotes/origin/*"
 
 # --prune-tags on its own does nothing, needs --prune as well, same
-# for for fetch.pruneTags without fetch.prune
+# for fetch.pruneTags without fetch.prune
 test_configured_prune unset unset unset unset kept kept     "--prune-tags"
 test_configured_prune unset unset true unset  kept kept     ""
 test_configured_prune unset unset unset true  kept kept     ""
index 1ddc9e6626b8a369fbc15dd74aaf845d53be91e9..5a2d07e5164364dfaf63b85a1e9000fbfc1d6e98 100755 (executable)
@@ -661,7 +661,7 @@ test_setup_4a () {
 }
 
 # NOTE: For as long as we continue using unpack_trees() without index_only
-#   set to true, it will error out on a case like this claiming the the locally
+#   set to true, it will error out on a case like this claiming that the locally
 #   modified file would be overwritten by the merge.  Getting this testcase
 #   correct requires doing the merge in-memory first, then realizing that no
 #   updates to the file are necessary, and thus that we can just leave the path
index 6e61882b6f59c2b66b43e01c753c3a9bb8bbd70e..e68e6115a66d3722413a1982aa86cc2a5d5932eb 100755 (executable)
@@ -248,7 +248,7 @@ Final
 EOF
 
 # The first line of b matches best with the last line of a, but the overall
-# match is better if we match it with the the first line of a.
+# match is better if we match it with the first line of a.
 title11="Piggy in the middle"
 cat <<EOF >a11
 abcdefg
index c560cbe860a42daa136e16195535ef10e2ab0a9f..20f207586846df410ebaf24b059116f7b3818375 100644 (file)
@@ -2035,7 +2035,7 @@ static void wt_porcelain_print(struct wt_status *s)
  *   [# branch.upstream <upstream><eol>
  *   [# branch.ab +<ahead> -<behind><eol>]]
  *
- *      <commit> ::= the current commit hash or the the literal
+ *      <commit> ::= the current commit hash or the literal
  *                   "(initial)" to indicate an initialized repo
  *                   with no commits.
  *