treewide: rename 'exclude' methods to 'pattern'
[gitweb.git] / attr.c
diff --git a/attr.c b/attr.c
index d90239869a894c4574dbc35bdee68e8a1caece96..d02d081e28dc3af043da15a522a605eeed6d92bf 100644 (file)
--- a/attr.c
+++ b/attr.c
@@ -400,7 +400,7 @@ static struct match_attr *parse_attr_line(const char *line, const char *src,
                char *p = (char *)&(res->state[num_attr]);
                memcpy(p, name, namelen);
                res->u.pat.pattern = p;
-               parse_exclude_pattern(&res->u.pat.pattern,
+               parse_path_pattern(&res->u.pat.pattern,
                                      &res->u.pat.patternlen,
                                      &res->u.pat.flags,
                                      &res->u.pat.nowildcardlen);