summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7dae8b2)
raw | patch | inline | side by side (parent: 7dae8b2)
author | Allan Caffee <allan.caffee@gmail.com> | |
Mon, 4 May 2009 17:37:30 +0000 (13:37 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 May 2009 05:04:16 +0000 (22:04 -0700) |
Signed-off-by: Allan Caffee <allan.caffee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c | patch | blob | history |
index 04a4b9861e03739df5c048448cd5c0be28b400db..4e6b988d37a0fb58fde4a170ebf7fe3702a3a474 100644 (file)
--- a/dir.c
+++ b/dir.c
}
/*
- * 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
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,