Fix up applymbox script for the addition of "git-" prefix
[gitweb.git] / read-tree.c
index 0d5ded5026c0a87987938c498e271c1d8cce122c..65f2d9a5dc5dd6cf6aaa24ca90d96c5c7ab6992d 100644 (file)
@@ -17,7 +17,7 @@ static int unpack_tree(unsigned char *sha1)
        buffer = read_object_with_reference(sha1, "tree", &size, NULL);
        if (!buffer)
                return -1;
-       ret = read_tree(buffer, size, stage);
+       ret = read_tree(buffer, size, stage, NULL);
        free(buffer);
        return ret;
 }