]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pathspec.c
mingw: use lowercase includes for some Windows headers
[thirdparty/git.git] / pathspec.c
index 6972d515f0c7dbb93292361720603d9a80bfa44e..6966b265d33aa8be6794a051b96668931c2b2092 100644 (file)
@@ -6,8 +6,10 @@
 #include "gettext.h"
 #include "pathspec.h"
 #include "attr.h"
+#include "repository.h"
 #include "setup.h"
 #include "strvec.h"
+#include "symlinks.h"
 #include "quote.h"
 
 /*
@@ -734,7 +736,7 @@ int match_pathspec_attrs(struct index_state *istate,
        if (name[namelen])
                name = to_free = xmemdupz(name, namelen);
 
-       git_check_attr(istate, NULL, name, item->attr_check);
+       git_check_attr(istate, name, item->attr_check);
 
        free(to_free);