git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Typo fixes
@ 2020-07-28 20:45 Elijah Newren via GitGitGadget
  2020-07-28 20:45 ` [PATCH 1/2] Remove doubled words in various comments Elijah Newren via GitGitGadget
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Elijah Newren via GitGitGadget @ 2020-07-28 20:45 UTC (permalink / raw)
  To: git; +Cc: Elijah Newren

Fix some simple typos: doubled words, and character swapping

Elijah Newren (2):
  Remove doubled words in various comments
  hashmap: fix typo in usage docs

 fsmonitor.c                            | 2 +-
 hashmap.h                              | 2 +-
 t/t5510-fetch.sh                       | 2 +-
 t/t6046-merge-skip-unneeded-updates.sh | 2 +-
 t/t8014-blame-ignore-fuzzy.sh          | 2 +-
 wt-status.c                            | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)


base-commit: 47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-824%2Fnewren%2Ftypo-fixes-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-824/newren/typo-fixes-v1
Pull-Request: https://github.com/git/git/pull/824
-- 
gitgitgadget

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] Remove doubled words in various comments
  2020-07-28 20:45 [PATCH 0/2] Typo fixes Elijah Newren via GitGitGadget
@ 2020-07-28 20:45 ` Elijah Newren via GitGitGadget
  2020-07-28 20:45 ` [PATCH 2/2] hashmap: fix typo in usage docs Elijah Newren via GitGitGadget
  2020-07-28 20:48 ` [PATCH 0/2] Typo fixes Taylor Blau
  2 siblings, 0 replies; 5+ messages in thread
From: Elijah Newren via GitGitGadget @ 2020-07-28 20:45 UTC (permalink / raw)
  To: git; +Cc: Elijah Newren, Elijah Newren

From: Elijah Newren <newren@gmail.com>

Signed-off-by: Elijah Newren <newren@gmail.com>
---
 fsmonitor.c                            | 2 +-
 t/t5510-fetch.sh                       | 2 +-
 t/t6046-merge-skip-unneeded-updates.sh | 2 +-
 t/t8014-blame-ignore-fuzzy.sh          | 2 +-
 wt-status.c                            | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/fsmonitor.c b/fsmonitor.c
index 932bd9012d..ed796e3e03 100644
--- a/fsmonitor.c
+++ b/fsmonitor.c
@@ -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);
diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh
index a66dbe0bde..7456c567cd 100755
--- a/t/t5510-fetch.sh
+++ b/t/t5510-fetch.sh
@@ -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     ""
diff --git a/t/t6046-merge-skip-unneeded-updates.sh b/t/t6046-merge-skip-unneeded-updates.sh
index 1ddc9e6626..5a2d07e516 100755
--- a/t/t6046-merge-skip-unneeded-updates.sh
+++ b/t/t6046-merge-skip-unneeded-updates.sh
@@ -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
diff --git a/t/t8014-blame-ignore-fuzzy.sh b/t/t8014-blame-ignore-fuzzy.sh
index 6e61882b6f..e68e6115a6 100755
--- a/t/t8014-blame-ignore-fuzzy.sh
+++ b/t/t8014-blame-ignore-fuzzy.sh
@@ -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
diff --git a/wt-status.c b/wt-status.c
index c560cbe860..20f2075868 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -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.
  *
-- 
gitgitgadget


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] hashmap: fix typo in usage docs
  2020-07-28 20:45 [PATCH 0/2] Typo fixes Elijah Newren via GitGitGadget
  2020-07-28 20:45 ` [PATCH 1/2] Remove doubled words in various comments Elijah Newren via GitGitGadget
@ 2020-07-28 20:45 ` Elijah Newren via GitGitGadget
  2020-07-28 20:48 ` [PATCH 0/2] Typo fixes Taylor Blau
  2 siblings, 0 replies; 5+ messages in thread
From: Elijah Newren via GitGitGadget @ 2020-07-28 20:45 UTC (permalink / raw)
  To: git; +Cc: Elijah Newren, Elijah Newren

From: Elijah Newren <newren@gmail.com>

Signed-off-by: Elijah Newren <newren@gmail.com>
---
 hashmap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hashmap.h b/hashmap.h
index 79ae9f80de..ef220de4c6 100644
--- a/hashmap.h
+++ b/hashmap.h
@@ -168,7 +168,7 @@ struct hashmap_entry {
  * argument `keydata`, respectively. Otherwise, `keydata` is NULL.
  *
  * When it is too expensive to allocate a user entry (either because it is
- * large or varialbe sized, such that it is not on the stack), then the
+ * large or variable sized, such that it is not on the stack), then the
  * relevant data to check for equality should be passed via `keydata`.
  * In this case `key` can be a stripped down version of the user key data
  * or even just a hashmap_entry having the correct hash.
-- 
gitgitgadget

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Typo fixes
  2020-07-28 20:45 [PATCH 0/2] Typo fixes Elijah Newren via GitGitGadget
  2020-07-28 20:45 ` [PATCH 1/2] Remove doubled words in various comments Elijah Newren via GitGitGadget
  2020-07-28 20:45 ` [PATCH 2/2] hashmap: fix typo in usage docs Elijah Newren via GitGitGadget
@ 2020-07-28 20:48 ` Taylor Blau
  2020-07-28 21:27   ` Junio C Hamano
  2 siblings, 1 reply; 5+ messages in thread
From: Taylor Blau @ 2020-07-28 20:48 UTC (permalink / raw)
  To: Elijah Newren via GitGitGadget; +Cc: git, Elijah Newren

On Tue, Jul 28, 2020 at 08:45:37PM +0000, Elijah Newren via GitGitGadget wrote:
> Fix some simple typos: doubled words, and character swapping

Far be it from me--since I seem to always be making these mistakes
myself--to be an authoritative reviewer on this series, but it looks
obviously good to me ;-).

  Reviewed-by: Taylor Blau <me@ttaylorr.com>

> Elijah Newren (2):
>   Remove doubled words in various comments
>   hashmap: fix typo in usage docs
>
>  fsmonitor.c                            | 2 +-
>  hashmap.h                              | 2 +-
>  t/t5510-fetch.sh                       | 2 +-
>  t/t6046-merge-skip-unneeded-updates.sh | 2 +-
>  t/t8014-blame-ignore-fuzzy.sh          | 2 +-
>  wt-status.c                            | 2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)
>
>
> base-commit: 47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-824%2Fnewren%2Ftypo-fixes-v1
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-824/newren/typo-fixes-v1
> Pull-Request: https://github.com/git/git/pull/824
> --
> gitgitgadget

Thanks,
Taylor

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Typo fixes
  2020-07-28 20:48 ` [PATCH 0/2] Typo fixes Taylor Blau
@ 2020-07-28 21:27   ` Junio C Hamano
  0 siblings, 0 replies; 5+ messages in thread
From: Junio C Hamano @ 2020-07-28 21:27 UTC (permalink / raw)
  To: Taylor Blau; +Cc: Elijah Newren via GitGitGadget, git, Elijah Newren

Taylor Blau <me@ttaylorr.com> writes:

> On Tue, Jul 28, 2020 at 08:45:37PM +0000, Elijah Newren via GitGitGadget wrote:
>> Fix some simple typos: doubled words, and character swapping
>
> Far be it from me--since I seem to always be making these mistakes
> myself--to be an authoritative reviewer on this series, but it looks
> obviously good to me ;-).

Yeah, I am guilty of making many of these, but the fixes all looked
good.

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-28 21:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28 20:45 [PATCH 0/2] Typo fixes Elijah Newren via GitGitGadget
2020-07-28 20:45 ` [PATCH 1/2] Remove doubled words in various comments Elijah Newren via GitGitGadget
2020-07-28 20:45 ` [PATCH 2/2] hashmap: fix typo in usage docs Elijah Newren via GitGitGadget
2020-07-28 20:48 ` [PATCH 0/2] Typo fixes Taylor Blau
2020-07-28 21:27   ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).