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

[PATCH] typofix: fix spelling mistakes in comments and test description

From
Hardik Kumar <hardikxk@gmail.com>
Date
Aug 30, 2026, 13:42 UTC
Message-ID
<20260830-typo-v1-1-d397c8dfb301@gmail.com>
Fix spelling errors in the following places:

versioncmp.c: "fractionnal" -> "fractional" git-gui/git-gui.sh: "occurence" -> "occurrence" t/t0022-crlf-rename.sh: "similiarity" -> "similarity"

Signed-off-by: Hardik Kumar <hardikxk@gmail.com>
---
 git-gui/git-gui.sh     | 2 +-
 t/t0022-crlf-rename.sh | 2 +-
 versioncmp.c           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh
index 15dd2b3a84..cc8a05517a 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 occurrence of any duplicates.
 	set norm_p [file normalize $p]
 	dict set _path_seen $norm_p 1
 }
diff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh
index 9bd863a970..328c6e5903 100755
--- a/t/t0022-crlf-rename.sh
+++ b/t/t0022-crlf-rename.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-test_description='ignore CR in CRLF sequence while computing similiarity'
+test_description='ignore CR in CRLF sequence while computing similarity'
 
 . ./test-lib.sh
 
diff --git a/versioncmp.c b/versioncmp.c
index 3a81b17bc1..f1e451755a 100644
--- a/versioncmp.c
+++ b/versioncmp.c
@@ -15,7 +15,7 @@
 
 /*
  * states: S_N: normal, S_I: comparing integral part, S_F: comparing
- * fractionnal parts, S_Z: idem but with leading Zeroes only
+ * fractional parts, S_Z: idem but with leading Zeroes only
  */
 #define  S_N    0x0
 #define  S_I    0x3

---
base-commit: c73e85354c275c9d409b26445089bc16940fc527
change-id: 20260830-typo-fea59ea5a02a
Next: Michael Montalbo
Message 1 of 4 in “typofix: fix spelling mistakes in comments and test description”
  1. typofix: fix spelling mistakes in comments and test descriptionHardik Kumar, Aug 30, 2026
  2. Michael MontalboAug 30, 2026
  3. Junio C HamanoAug 31, 2026
  4. Hardik KumarAug 31, 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.