[PATCH] diff.c: -B argument passing fix.
[gitweb.git] / read-tree.c
index c5f26d5f801504f24d734d8cd84d931769bf54c5..283f4d8577261645d0f5e2d85b7f74f13b848f79 100644 (file)
@@ -13,7 +13,7 @@ static int unpack_tree(unsigned char *sha1)
        unsigned long size;
        int ret;
 
-       buffer = read_object_with_reference(sha1, "tree", &size, 0);
+       buffer = read_object_with_reference(sha1, "tree", &size, NULL);
        if (!buffer)
                return -1;
        ret = read_tree(buffer, size, stage);