ref-filter: fix outdated comment on in_commit_list
[gitweb.git] / http-push.c
index d83479f32f4cfa7fdc66620a2abe703733f8a8f6..53a217291e5d66a1a6c4ef5c37f43d563604f6da 100644 (file)
@@ -1330,7 +1330,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->maybe_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);