git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-gui: fix typo in comment

From
OGOphir Bleicher via GitGitGadget <gitgitgadget@gmail.com>
Date
Nov 21, 2026, 16:27 UTC
Message-ID
<pull.2498.git.git.1795278449118.gitgitgadget@gmail.com>
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(-)
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
Next: Johannes Sixt
Message 1 of 3 in “git-gui: fix typo in comment”
  1. git-gui: fix typo in commentOphir Bleicher via GitGitGadget, Nov 21, 2026
  2. Johannes SixtNov 22, 2026
  3. Richard KerryNov 23, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.