threads / patch / 66907

patchgit-gui: fix typo in comment

Subject: [PATCH] git-gui: fix typo in comment

## tl;dr

3 messages between Nov 21, 2026 and Nov 23, 2026. Diffs are folded; open one to read it.

replies: 2people: 3as markdown or json

Ophir Bleicher via GitGitGadget· Nov 21, 2026, 16:27 UTC · lore
From: Ophir Bleicher <ophirble@gmail.com>

Fix a typo in the comment in line 112 of git-gui/git-gui.sh. Change it from occurence to occurance.

Signed-off-by: Ophir Bleicher <ophirble@gmail.com>
---
    git-gui: fix typo in comment
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2498%2FOphirBleicher%2Fgit-gui-typo-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2498/OphirBleicher/git-gui-typo-v1
Pull-Request: https://github.com/git/git/pull/2498
 git-gui/git-gui.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to git-gui/git-gui.sh +1 −1
diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh
index 15dd2b3a84..1deaa5edd3 100755
--- a/git-gui/git-gui.sh
+++ b/git-gui/git-gui.sh
@@ -109,7 +109,7 @@ foreach p [split $env(PATH) $_path_sep] {
 	if {[file pathtype $p] ne {absolute}} {
 		continue
 	}
-	# Keep only the first occurence of any duplicates.
+	# Keep only the first occurance of any duplicates.
 	set norm_p [file normalize $p]
 	dict set _path_seen $norm_p 1
 }

base-commit: f7de81456940dd6f3274e461149bba12965de609
-- 
gitgitgadget
Johannes Sixt· Nov 22, 2026, 08:33 UTC · re: Ophir Bleicher via GitGitGadget · lore

Re: [PATCH] git-gui: fix typo in comment

Am 21.11.26 um 17:27 schrieb Ophir Bleicher via GitGitGadget:
> -	# Keep only the first occurence of any duplicates.
> +	# Keep only the first occurance of any duplicates.
My dictionary doesn't know "occurance". But it does know "occurrence".
-- Hannes
Richard Kerry· Nov 23, 2026, 09:32 UTC · re: Ophir Bleicher via GitGitGadget · lore

RE: [PATCH] git-gui: fix typo in comment

Don't do that, occurrence would be correct.
(double r as well as leaving e)
Kind regards,

Richard Kerry BNCS Engineer - Media Competency Centre MidCity Place, 71 High Holborn - London WC1V 6EA - UK atos.ai

Show 67 quoted lines
> -----Original Message-----
> From: Ophir Bleicher via GitGitGadget <gitgitgadget@gmail.com>
> Sent: 21 November 2026 16:27
> To: git@vger.kernel.org
> Cc: Ophir Bleicher <ophirble@gmail.com>; Ophir Bleicher <ophirble@gmail.com>
> Subject: [PATCH] git-gui: fix typo in comment
>
> Caution: External email. Do not open attachments or click links, unless this email
> comes from a known sender and you know the content is safe.
>
>
> From: Ophir Bleicher <ophirble@gmail.com>
>
> Fix a typo in the comment in line 112 of git-gui/git-gui.sh. Change it from
> occurence to occurance.
>
> Signed-off-by: Ophir Bleicher <ophirble@gmail.com>
> ---
>     git-gui: fix typo in comment
>
> Published-As:
> https://github.co/
> m%2Fgitgitgadget%2Fgit%2Freleases%2Ftag%2Fpr-git-
> 2498%252FOphirBleicher%252Fgit-gui-typo-
> v1&data=05%7C02%7Crichard.kerry%40atos.ai%7Ca6efdfe58b124f6ebc2008df4
> 7ec58dd%7C33440fc6b7c7412cbb730e70b0198d5a%7C0%7C0%7C63930875258
> 3340552%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIw
> LjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C
> %7C%7C&sdata=N0wm4FFk9jyAX41rAbt1D3rxBrhpNzcylh2FRicwJTQ%3D&reserv
> ed=0
> Fetch-It-Via: git fetch
> https://github.co/
> m%2Fgitgitgadget%2Fgit&data=05%7C02%7Crichard.kerry%40atos.ai%7Ca6efdf
> e58b124f6ebc2008df47ec58dd%7C33440fc6b7c7412cbb730e70b0198d5a%7C0
> %7C0%7C639308752583372617%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1h
> cGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjo
> yfQ%3D%3D%7C0%7C%7C%7C&sdata=E1B9p5t7zGmjiddTuvOmLbKghloYtI0ACJlt
> 9v%2F5gwE%3D&reserved=0 pr-git-2498/OphirBleicher/git-gui-typo-v1
> Pull-Request:
> https://github.co/
> m%2Fgit%2Fgit%2Fpull%2F2498&data=05%7C02%7Crichard.kerry%40atos.ai%7
> Ca6efdfe58b124f6ebc2008df47ec58dd%7C33440fc6b7c7412cbb730e70b0198d5
> a%7C0%7C0%7C639308752583395363%7CUnknown%7CTWFpbGZsb3d8eyJFbX
> B0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbC
> IsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=GUB69gN5u4AmUAJknLsIstG1DI
> C%2B9KCmlP5kkqWik%2BI%3D&reserved=0
>
>  git-gui/git-gui.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh index 15dd2b3a84..1deaa5edd3
> 100755
> --- a/git-gui/git-gui.sh
> +++ b/git-gui/git-gui.sh
> @@ -109,7 +109,7 @@ foreach p [split $env(PATH) $_path_sep] {
>         if {[file pathtype $p] ne {absolute}} {
>                 continue
>         }
> -       # Keep only the first occurence of any duplicates.
> +       # Keep only the first occurance of any duplicates.
>         set norm_p [file normalize $p]
>         dict set _path_seen $norm_p 1
>  }
>
> base-commit: f7de81456940dd6f3274e461149bba12965de609
> --
> gitgitgadget
Atos is a trading name used by the Atos group. The trading entity is registered in England and Wales: Atos IT Services UK Limited (registered number 01245534). The registered office is located at: Second Floor, MidCity Place, 71 High Holborn, London, WC1V 6EA. The VAT No. is: GB232327983. This e-mail and the documents attached are confidential and intended solely for the addressee and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use, or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended, or lost, they are not secure. Atos therefore can accept no liability for any errors or their content. Although Atos endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos by email.

← back to recent threads