From: Michael J Gruber Date: Wed, 22 Apr 2009 21:15:56 +0000 (+0200) Subject: Fix more typos/spelling in comments X-Git-Tag: v1.6.3-rc2~17 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b18cc5a3b2f64364d2c7d3560066852728a6c666;p=git.git Fix more typos/spelling in comments A few more fixes on top of the automatic spell checker generated ones. Signed-off-by: Michael J Gruber Signed-off-by: Junio C Hamano --- diff --git a/builtin-reflog.c b/builtin-reflog.c index ff8b4f615..ddfdf5a3c 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 119287412..b4a51b958 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 03157a4ab..14feac7fe 100644 --- a/compat/fnmatch/fnmatch.c +++ b/compat/fnmatch/fnmatch.c @@ -39,7 +39,7 @@ # include #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: must be included before . */ diff --git a/fast-import.c b/fast-import.c index 53617a10d..8d959af3b 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;