Displaying 1 result from an estimated 1 matches for "m_ignore".
2005 Jan 31
1
[patch] add "--ignore" option
...34 @@
/*
- * Return -1 if file "name" is defined to be excluded by the specified
- * exclude list, 1 if it is included, and 0 if it was not matched.
+ * Return M_EXCLUDE if file "name" is defined to be excluded by the
specified
+ * exclude list, M_INCLUDE if it is included, M_IGNORE if it is flagged to
be
+ * ignored, and M_NOMATCH (aka 0) if it was not matched.
*/
-int check_filter(struct filter_list_struct *listp, char *name, int
name_is_dir)
+enum matchtype check_filter(struct filter_list_struct *listp, char *name,
int name_is_dir)
{
struct filter_struct *ent;
for...