X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=read-tree.c;h=65f2d9a5dc5dd6cf6aaa24ca90d96c5c7ab6992d;hb=9c2b1c0cd89d8cc8a3882e85c6b6535f282bf59f;hp=0d5ded5026c0a87987938c498e271c1d8cce122c;hpb=85c1f337be49eaa9a22e42a1c9958deef5ab57c3;p=git.git diff --git a/read-tree.c b/read-tree.c index 0d5ded50..65f2d9a5 100644 --- a/read-tree.c +++ b/read-tree.c @@ -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; }