From: Michael J Gruber <git@drmicha.warpmail.net>
To: git@vger.kernel.org
Cc: Mike Ralphson <mike@abacus.co.uk>, Junio C Hamano <gitster@pobox.com>
Subject: [PATCH] Fix more typos/spelling in comments
Date: Wed, 22 Apr 2009 23:15:56 +0200 [thread overview]
Message-ID: <1240434956-4852-1-git-send-email-git@drmicha.warpmail.net> (raw)
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
next prev parent reply other threads:[~2009-04-22 21:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-17 18:13 [PATCH 0/3] Typo fixes Mike Ralphson
2009-04-17 18:13 ` [PATCH 1/3] Documentation: fix typos / spelling mistakes Mike Ralphson
2009-04-17 18:13 ` [PATCH 2/3] builtin-remote: fix typo in option description Mike Ralphson
2009-04-17 18:13 ` [PATCH 3/3] Fix typos / spelling in comments Mike Ralphson
2009-04-17 19:10 ` Michael J Gruber
2009-04-18 1:18 ` Junio C Hamano
2009-04-22 21:15 ` Michael J Gruber [this message]
2009-04-23 4:21 ` [PATCH] Fix more typos/spelling " Junio C Hamano
2009-04-23 4:21 ` [PATCH 3/3] Fix typos / spelling " Junio C Hamano
2009-04-17 19:42 ` [PATCH 2/3] builtin-remote: fix typo in option description Sverre Rabbelier
2009-04-17 18:48 ` [PATCH 1/3] Documentation: fix typos / spelling mistakes Markus Heidelberg
2009-04-17 19:32 ` Mike Ralphson
2009-04-17 18:56 ` Michael J Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1240434956-4852-1-git-send-email-git@drmicha.warpmail.net \
--to=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=mike@abacus.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).