Skip to content

Commit b18cc5a

Browse files
Michael J Grubergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3ea3c21 commit b18cc5a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

builtin-reflog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ static int unreachable(struct expire_reflog_cb *cb, struct commit *commit, unsig
240240
static void mark_reachable(struct commit *commit, unsigned long expire_limit)
241241
{
242242
/*
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
244244
* entry is reachable from the tip of the ref for all entries.
245245
* Mark commits that are reachable from the tip down to the
246246
* time threshold first; we know a commit marked thusly is

compat/cygwin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ static int cygwin_stat(const char *path, struct stat *buf)
8989
/*
9090
* At start up, we are trying to determine whether Win32 API or cygwin stat
9191
* 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
9393
* not be set yet. So until it is set, use cygwin lstat/stat functions.
9494
* However, if core.filemode is set, we must use the Cygwin posix
9595
* stat/lstat as the Windows stat functions do not determine posix filemode.

compat/fnmatch/fnmatch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# include <stdlib.h>
4040
#endif
4141

42-
/* For platform which support the ISO C amendment 1 functionality we
42+
/* For platforms which support the ISO C amendment 1 functionality we
4343
support user defined character classes. */
4444
#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
4545
/* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */

fast-import.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Format of STDIN stream:
133133
# always escapes the related input from comment processing.
134134
#
135135
# 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
137137
# preceded it).
138138
#
139139
comment ::= '#' not_lf* lf;

0 commit comments

Comments
 (0)