]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pack-bitmap-write.c
dir.h: move DTYPE defines from cache.h
[thirdparty/git.git] / pack-bitmap-write.c
index 0fddeb1298bf5556114c536e55fbe25e3a2c6bc5..faf67c94d37e15914f248779f50207ffeb805b72 100644 (file)
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
 #include "alloc.h"
 #include "environment.h"
 #include "gettext.h"
@@ -430,7 +430,8 @@ static int fill_bitmap_commit(struct bb_commit *ent,
                if (!found)
                        return -1;
                bitmap_set(ent->bitmap, pos);
-               prio_queue_put(tree_queue, get_commit_tree(c));
+               prio_queue_put(tree_queue,
+                              repo_get_commit_tree(the_repository, c));
 
                for (p = c->parents; p; p = p->next) {
                        pos = find_object_pos(&p->item->object.oid, &found);