dir.c: Fix two minor grammatical errors in comments
Signed-off-by: Allan Caffee <allan.caffee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Allan Caffee committed
May 4, 2009 at 13:37 UTC
2c5b0115038ab283b346fbb8059b93973ff4c8f2
1 file changed
+2
-2
dir.c
+2
-2
@@ -58,7 +58,7 @@ static inline int special_char(unsigned char c1)
58
}
59
60
/*
61
- * Does 'match' matches the given name?
61
+ * Does 'match' match the given name?
62
* A match is found if
63
*
64
* (1) the 'match' string is leading directory of 'name', or
@@ -292,7 +292,7 @@ static void prep_exclude(struct dir_struct *dir, const char *base, int baselen)
292
dir->basebuf[baselen] = '\0';
293
}
294
295
-/* Scan the list and let the last match determines the fate.
295
+/* Scan the list and let the last match determine the fate.
296
* Return 1 for exclude, 0 for include and -1 for undecided.
297
*/
298
static int excluded_1(const char *pathname,