Displaying 1 result from an estimated 1 matches for "m_exclude".
2005 Jan 31
1
[patch] add "--ignore" option
...ent->pattern,
ent->match_flags & MATCHFLG_DIRECTORY ? "/" : "",
type);
}
@@ -573,29 +575,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 ma...