summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorAllan Caffee <allan.caffee@gmail.com>2009-05-04 17:37:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-05-06 05:04:16 (GMT)
commit2c5b0115038ab283b346fbb8059b93973ff4c8f2 (patch)
tree08d12e2203d403efbd616ff7a8dc7b470a34c2b9 /dir.c
parent7dae8b21c2fe39a59661c709f0dc17090dafa5a4 (diff)
downloadgit-2c5b0115038ab283b346fbb8059b93973ff4c8f2.zip
git-2c5b0115038ab283b346fbb8059b93973ff4c8f2.tar.gz
git-2c5b0115038ab283b346fbb8059b93973ff4c8f2.tar.bz2
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>
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 04a4b98..4e6b988 100644
--- a/dir.c
+++ b/dir.c
@@ -58,7 +58,7 @@ static inline int special_char(unsigned char c1)
}
/*
- * Does 'match' matches the given name?
+ * Does 'match' match the given name?
* A match is found if
*
* (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)
dir->basebuf[baselen] = '\0';
}
-/* Scan the list and let the last match determines the fate.
+/* Scan the list and let the last match determine the fate.
* Return 1 for exclude, 0 for include and -1 for undecided.
*/
static int excluded_1(const char *pathname,