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

[PATCH 09/10] git-gui: fix spelling in comments

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Apr 12, 2013, 07:10 UTC
Message-ID
<20130412071017.GJ5710@elie.Belkin>
In-Reply-To
<20130412064837.GA5710@elie.Belkin>
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Fri, 12 Apr 2013 00:36:10 +0200

Correct common spelling mistakes noticed by Lucas De Marchi's codespell tool.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
Split from a larger patch.  Could be applied with "patch -p2"
if it seems like a good change for git-gui.
 git-gui/lib/blame.tcl      | 2 +-
 git-gui/lib/index.tcl      | 2 +-
 git-gui/lib/spellcheck.tcl | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/git-gui/lib/blame.tcl b/git-gui/lib/blame.tcl
index 324f7744..b1d15f46 100644
--- a/git-gui/lib/blame.tcl
+++ b/git-gui/lib/blame.tcl
@@ -5,7 +5,7 @@ class blame {
 
 image create photo ::blame::img_back_arrow -data {R0lGODlhGAAYAIUAAPwCBEzKXFTSZIz+nGzmhGzqfGTidIT+nEzGXHTqhGzmfGzifFzadETCVES+VARWDFzWbHzyjAReDGTadFTOZDSyRDyyTCymPARaFGTedFzSbDy2TCyqRCyqPARaDAyCHES6VDy6VCyiPAR6HCSeNByWLARyFARiDARqFGTifARiFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAAAYABgAAAajQIBwSCwaj8ikcsk0BppJwRPqHEypQwHBis0WDAdEFyBIKBaMAKLBdjQeSkFBYTBAIvgEoS6JmhUTEwIUDQ4VFhcMGEhyCgoZExoUaxsWHB0THkgfAXUGAhoBDSAVFR0XBnCbDRmgog0hpSIiDJpJIyEQhBUcJCIlwA22SSYVogknEg8eD82qSigdDSknY0IqJQXPYxIl1dZCGNvWw+Dm510GQQAh/mhDcmVhdGVkIGJ5IEJNUFRvR0lGIFBybyB2ZXJzaW9uIDIuNQ0KqSBEZXZlbENvciAxOTk3LDE5OTguIEFsbCByaWdodHMgcmVzZXJ2ZWQuDQpodHRwOi8vd3d3LmRldmVsY29yLmNvbQA7}
 
-# Persistant data (survives loads)
+# Persistent data (survives loads)
 #
 field history {}; # viewer history: {commit path}
 field header    ; # array commit,key -> header field
diff --git a/git-gui/lib/index.tcl b/git-gui/lib/index.tcl
index 8efbbdde..74a81a7b 100644
--- a/git-gui/lib/index.tcl
+++ b/git-gui/lib/index.tcl
@@ -414,7 +414,7 @@ proc revert_helper {txt paths} {
 	# such distinction is needed in some languages. Previously, the
 	# code used "Revert changes in" for both, but that can't work
 	# in languages where 'in' must be combined with word from
-	# rest of string (in diffrent way for both cases of course).
+	# rest of string (in different way for both cases of course).
 	#
 	# FIXME: Unfortunately, even that isn't enough in some languages
 	# as they have quite complex plural-form rules. Unfortunately,
diff --git a/git-gui/lib/spellcheck.tcl b/git-gui/lib/spellcheck.tcl
index e6120303..538d61c7 100644
--- a/git-gui/lib/spellcheck.tcl
+++ b/git-gui/lib/spellcheck.tcl
@@ -14,7 +14,7 @@ field w_menu      ; # context menu for the widget
 field s_menuidx 0 ; # last index of insertion into $w_menu
 
 field s_i           {} ; # timer registration for _run callbacks
-field s_clear        0 ; # did we erase mispelled tags yet?
+field s_clear        0 ; # did we erase misspelled tags yet?
 field s_seen    [list] ; # lines last seen from $w_text in _run
 field s_checked [list] ; # lines already checked
 field s_pending [list] ; # [$line $data] sent to ispell/aspell
@@ -259,7 +259,7 @@ method _run {} {
 		if {$n == $cur_line
 		 && ![regexp {^\W$} [$w_text get $cur_pos insert]]} {
 
-			# If the current word is mispelled remove the tag
+			# If the current word is misspelled remove the tag
 			# but force a spellcheck later.
 			#
 			set tags [$w_text tag names $cur_pos]
-- 
1.8.2.1
Previous: Jonathan NiederNext: Jonathan Nieder
Message 29 of 34 in “Various typofixes”
  1. Various typofixesStefano Lattarini, Apr 11, 2013
  2. Eric SunshineApr 11, 2013
  3. Fix various typos and grammarosStefano Lattarini, Apr 11, 2013
  4. Junio C HamanoApr 12, 2013
  5. 0/10 Re: [PATCH v2] Fix various typos and grammarosJonathan Nieder, Apr 12, 2013
  6. 01/10 doc: various spelling fixesJonathan Nieder, Apr 12, 2013
  7. Junio C HamanoApr 12, 2013
  8. gitweb/INSTALL: Simplify description of GITWEB_CONFIG_SYSTEMJakub Narębski, Apr 12, 2013
  9. Drew NorthupApr 16, 2013
  10. Junio C HamanoApr 16, 2013
  11. Jakub NarębskiApr 16, 2013
  12. Drew NorthupApr 16, 2013
  13. Drew NorthupApr 16, 2013
  14. gitweb/INSTALL: GITWEB_CONFIG_SYSTEM is for backward compatibilityJakub Narębski, Apr 16, 2013
  15. Drew NorthupApr 16, 2013
  16. Drew NorthupApr 16, 2013
  17. Jonathan NiederApr 16, 2013
  18. Drew NorthupApr 18, 2013
  19. Junio C HamanoApr 18, 2013
  20. 02/10 git-remote-mediawiki: spelling fixesJonathan Nieder, Apr 12, 2013
  21. Matthieu MoyApr 12, 2013
  22. 03/10 contrib/subtree: fix spelling of accidentallyJonathan Nieder, Apr 12, 2013
  23. 04/10 obstack: fix spelling of similarJonathan Nieder, Apr 12, 2013
  24. 05/10 compat/regex: fix spelling and grammar in commentsJonathan Nieder, Apr 12, 2013
  25. 06/10 compat/nedmalloc: fix spelling in commentsJonathan Nieder, Apr 12, 2013
  26. Sebastian SchuberthApr 12, 2013
  27. 07/10 precompose-utf8: fix spelling of "want" in error messageJonathan Nieder, Apr 12, 2013
  28. 08/10 kwset: fix spelling in commentsJonathan Nieder, Apr 12, 2013
  29. 09/10 git-gui: fix spelling in commentsJonathan Nieder, Apr 12, 2013
  30. 10/10 Correct common spelling mistakes in comments and testsJonathan Nieder, Apr 12, 2013
  31. Junio C HamanoApr 12, 2013
  32. Junio C HamanoApr 12, 2013
  33. Stefano LattariniApr 12, 2013
  34. Junio C HamanoApr 12, 2013

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.