Merge branch 'bp/status-rename-config'
[gitweb.git] / http-push.c
index f308ce0195a5f0991996a3daad9b13809e8f7895..2669f4bfa1e2e47226f6e58084f35f4a64b21226 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);