]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-push.c
The sixth batch
[thirdparty/git.git] / http-push.c
index 33db41bfac5f977747ce7af864207df3f255e491..1fe51226fd28a84fefe621cd2cf0a593afa1105f 100644 (file)
@@ -1307,7 +1307,7 @@ static struct object_list **process_tree(struct tree *tree,
        obj->flags |= SEEN;
        p = add_one_object(obj, p);
 
-       init_tree_desc(&desc, tree->buffer, tree->size);
+       init_tree_desc(&desc, &tree->object.oid, tree->buffer, tree->size);
 
        while (tree_entry(&desc, &entry))
                switch (object_type(entry.mode)) {