doc: group pretty-format.txt placeholders descriptions
[gitweb.git] / archive.c
index 994495af05bf89ad7f476d85cb43419f826955ca..9d16b7fadfc8d30b8a96dd0c908f02783adb791f 100644 (file)
--- a/archive.c
+++ b/archive.c
@@ -110,7 +110,8 @@ static const struct attr_check *get_archive_attrs(struct index_state *istate,
        static struct attr_check *check;
        if (!check)
                check = attr_check_initl("export-ignore", "export-subst", NULL);
-       return git_check_attr(istate, path, check) ? NULL : check;
+       git_check_attr(istate, path, check);
+       return check;
 }
 
 static int check_attr_export_ignore(const struct attr_check *check)