submodule deinit: unset core.worktree
[gitweb.git] / http-push.c
index ea5af6227e075389417b4f541b3cfbe3041bb354..7e38522098bf91c144adaee7f9f5476f8bc72cd2 100644 (file)
@@ -1331,7 +1331,7 @@ static int get_delta(struct rev_info *revs, struct remote_lock *lock)
        int count = 0;
 
        while ((commit = get_revision(revs)) != NULL) {
-               p = process_tree(commit->tree, p);
+               p = process_tree(get_commit_tree(commit), p);
                commit->object.flags |= LOCAL;
                if (!(commit->object.flags & UNINTERESTING))
                        count += add_send_request(&commit->object, lock);