]> git.ipfire.org Git - thirdparty/git.git/blobdiff - dir.c
convert.c: remove an implicit dependency on the_index
[thirdparty/git.git] / dir.c
diff --git a/dir.c b/dir.c
index 21e6f2520a487ec9167e7d1f79101f82444af832..29fbbd48c8cfd57c79062fe39e08d426a1bc41d5 100644 (file)
--- a/dir.c
+++ b/dir.c
@@ -281,7 +281,7 @@ static int match_attrs(const char *name, int namelen,
 {
        int i;
 
-       git_check_attr(name, item->attr_check);
+       git_check_attr(&the_index, name, item->attr_check);
        for (i = 0; i < item->attr_match_nr; i++) {
                const char *value;
                int matched;