aboutsummaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2009-04-22 23:15:56 +0200
committerJunio C Hamano <gitster@pobox.com>2009-04-22 19:03:39 -0700
commitb18cc5a3b2f64364d2c7d3560066852728a6c666 (patch)
treeafa6de958d57a68df14e45c1b908694e7c3f67b6 /compat
parent3ea3c215c02dc4a4e7d0881c25b2223540960797 (diff)
downloadgit-b18cc5a3b2f64364d2c7d3560066852728a6c666.tar.gz
git-b18cc5a3b2f64364d2c7d3560066852728a6c666.tar.xz
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 <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
-rw-r--r--compat/cygwin.c2
-rw-r--r--compat/fnmatch/fnmatch.c2
2 files changed, 2 insertions, 2 deletions
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 <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>. */