@matheusbsbs / matheus-bagliano / commits / b18cc5a3b2
Fork 0

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>

Michael J Gruber committed Apr 22, 2009 at 23:15 UTC b18cc5a3b2f64364d2c7d3560066852728a6c666
4 files changed +4 -4
builtin-reflog.c
+1 -1
@@ -240,7 +240,7 @@ static int unreachable(struct expire_reflog_cb *cb, struct commit *commit, unsig
240 static void mark_reachable(struct commit *commit, unsigned long expire_limit)
241 {
242 /*
243 - * We need to compute if commit on either side of an reflog
243 + * We need to compute whether the commit on either side of a reflog
244 * entry is reachable from the tip of the ref for all entries.
245 * Mark commits that are reachable from the tip down to the
246 * time threshold first; we know a commit marked thusly is
compat/cygwin.c
+1 -1
@@ -89,7 +89,7 @@ static int cygwin_stat(const char *path, struct stat *buf)
89 /*
90 * At start up, we are trying to determine whether Win32 API or cygwin stat
91 * functions should be used. The choice is determined by core.ignorecygwinfstricks.
92 - * Reading this option is not always possible immediately as git_dir may be
92 + * Reading this option is not always possible immediately as git_dir may
93 * not be set yet. So until it is set, use cygwin lstat/stat functions.
94 * However, if core.filemode is set, we must use the Cygwin posix
95 * stat/lstat as the Windows stat functions do not determine posix filemode.
compat/fnmatch/fnmatch.c
+1 -1
@@ -39,7 +39,7 @@
39 # include <stdlib.h>
40 #endif
41
42 -/* For platform which support the ISO C amendment 1 functionality we
42 +/* For platforms which support the ISO C amendment 1 functionality we
43 support user defined character classes. */
44 #if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
45 /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */
fast-import.c
+1 -1
@@ -133,7 +133,7 @@ Format of STDIN stream:
133 # always escapes the related input from comment processing.
134 #
135 # In case it is not clear, the '#' that starts the comment
136 - # must be the first character on that the line (an lf have
136 + # must be the first character on that line (an lf
137 # preceded it).
138 #
139 comment ::= '#' not_lf* lf;