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

[PATCH] Fix more typos/spelling in comments

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Apr 22, 2009, 21:15 UTC
Message-ID
<1240434956-4852-1-git-send-email-git@drmicha.warpmail.net>
In-Reply-To
<7veivq21zv.fsf@gitster.siamese.dyndns.org>
A few more fixes on top of the automatic spell checker generated ones.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
Sorry it took me so long...
 builtin-reflog.c         |    2 +-
 compat/cygwin.c          |    2 +-
 compat/fnmatch/fnmatch.c |    2 +-
 fast-import.c            |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/builtin-reflog.c b/builtin-reflog.c
index ff8b4f6..ddfdf5a 100644
--- a/builtin-reflog.c
+++ b/builtin-reflog.c
@@ -240,7 +240,7 @@ static int unreachable(struct expire_reflog_cb *cb, struct commit *commit, unsig
 static void mark_reachable(struct commit *commit, unsigned long expire_limit)
 {
 	/*
-	 * We need to compute if commit on either side of an reflog
+	 * We need to compute whether the commit on either side of a reflog
 	 * entry is reachable from the tip of the ref for all entries.
 	 * Mark commits that are reachable from the tip down to the
 	 * time threshold first; we know a commit marked thusly is
diff --git a/compat/cygwin.c b/compat/cygwin.c
index 1192874..b4a51b9 100644
--- a/compat/cygwin.c
+++ b/compat/cygwin.c
@@ -89,7 +89,7 @@ static int cygwin_stat(const char *path, struct stat *buf)
 /*
  * At start up, we are trying to determine whether Win32 API or cygwin stat
  * functions should be used. The choice is determined by core.ignorecygwinfstricks.
- * Reading this option is not always possible immediately as git_dir may be
+ * Reading this option is not always possible immediately as git_dir may
  * not be set yet. So until it is set, use cygwin lstat/stat functions.
  * However, if core.filemode is set, we must use the Cygwin posix
  * stat/lstat as the Windows stat functions do not determine posix filemode.
diff --git a/compat/fnmatch/fnmatch.c b/compat/fnmatch/fnmatch.c
index 03157a4..14feac7 100644
--- a/compat/fnmatch/fnmatch.c
+++ b/compat/fnmatch/fnmatch.c
@@ -39,7 +39,7 @@
 # include <stdlib.h>
 #endif
 
-/* For platform which support the ISO C amendment 1 functionality we
+/* For platforms which support the ISO C amendment 1 functionality we
    support user defined character classes.  */
 #if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
 /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>.  */
diff --git a/fast-import.c b/fast-import.c
index 53617a1..8d959af 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -133,7 +133,7 @@ Format of STDIN stream:
      # always escapes the related input from comment processing.
      #
      # In case it is not clear, the '#' that starts the comment
-     # must be the first character on that the line (an lf have
+     # must be the first character on that line (an lf
      # preceded it).
      #
   comment ::= '#' not_lf* lf;
-- 
1.6.3.rc1.34.g0be9b
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 13 in “Typo fixes”
  1. 0/3 Typo fixesMike Ralphson, Apr 17, 2009
  2. 1/3 Documentation: fix typos / spelling mistakesMike Ralphson, Apr 17, 2009
  3. 2/3 builtin-remote: fix typo in option descriptionMike Ralphson, Apr 17, 2009
  4. 3/3 Fix typos / spelling in commentsMike Ralphson, Apr 17, 2009
  5. Michael J GruberApr 17, 2009
  6. Junio C HamanoApr 18, 2009
  7. Fix more typos/spelling in commentsMichael J Gruber, Apr 22, 2009
  8. Junio C HamanoApr 23, 2009
  9. Junio C HamanoApr 23, 2009
  10. Sverre RabbelierApr 17, 2009
  11. Markus HeidelbergApr 17, 2009
  12. Mike RalphsonApr 17, 2009
  13. Michael J GruberApr 17, 2009

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.