read_blob_data_from_index(): optionally return the size of blob data
[gitweb.git] / attr.c
diff --git a/attr.c b/attr.c
index 243d60ffa9a6a097514ddfeb74c98ae7bb30f35c..09e7e50d3e4e3548187e230ea9bf20398e0959a0 100644 (file)
--- a/attr.c
+++ b/attr.c
@@ -387,7 +387,7 @@ static struct attr_stack *read_attr_from_index(const char *path, int macro_ok)
        char *buf, *sp;
        int lineno = 0;
 
-       buf = read_blob_data_from_index(use_index ? use_index : &the_index, path);
+       buf = read_blob_data_from_index(use_index ? use_index : &the_index, path, NULL);
        if (!buf)
                return NULL;