@@ -4,7 +4,7 @@
#ifndef BULK_CHECKIN_H
#define BULK_CHECKIN_H
-#include "cache.h"
+#include "object.h"
void prepare_loose_object_bulk_checkin(void);
void fsync_loose_object_bulk_checkin(int fd, const char *filename);
@@ -2,7 +2,6 @@
#define BUNDLE_H
#include "strvec.h"
-#include "cache.h"
#include "string-list.h"
#include "list-objects-filter-options.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "hex.h"
#include "lockfile.h"
@@ -5,7 +5,7 @@
* Copyright (C) Johannes Schindelin, 2005
*
*/
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "date.h"
#include "branch.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "config.h"
#include "refs.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "hex.h"
#include "object-store.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "config.h"
#include "hex.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "pack-mtimes.h"
#include "object-store.h"
#include "packfile.h"
@@ -1,11 +1,13 @@
#ifndef PACKFILE_H
#define PACKFILE_H
-#include "cache.h"
+#include "object.h"
#include "oidset.h"
/* in object-store.h */
struct packed_git;
+struct pack_entry;
+struct pack_window;
struct object_info;
/*
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "object-store.h"
#include "packfile.h"
#include "progress.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "hex.h"
#include "parse-options.h"
@@ -2,7 +2,7 @@
* The backend-independent part of the reference module.
*/
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "config.h"
#include "hashmap.h"
@@ -1,7 +1,6 @@
#ifndef REFS_H
#define REFS_H
-#include "cache.h"
#include "commit.h"
struct object_id;
@@ -1,4 +1,4 @@
-#include "../git-compat-util.h"
+#include "../cache.h"
#include "../alloc.h"
#include "../config.h"
#include "../hex.h"
@@ -1,5 +1,6 @@
#include "git-compat-util.h"
#include "alloc.h"
+#include "gettext.h"
#include "hex.h"
#include "strvec.h"
#include "refs.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "config.h"
#include "hex.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "dir.h"
#include "hex.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "hex.h"
#include "repository.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "hex.h"
#include "refs.h"
@@ -3,10 +3,12 @@
*/
#ifndef STREAMING_H
#define STREAMING_H 1
-#include "cache.h"
+
+#include "object.h"
/* opaque */
struct git_istream;
+struct stream_filter;
struct git_istream *open_istream(struct repository *, const struct object_id *,
enum object_type *, unsigned long *,
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "repository.h"
#include "config.h"
@@ -1,6 +1,7 @@
#include "test-tool.h"
#include "parse-options.h"
#include "bundle-uri.h"
+#include "gettext.h"
#include "strbuf.h"
#include "string-list.h"
#include "transport.h"
@@ -12,7 +12,7 @@
#define USE_THE_INDEX_VARIABLE
#include "test-tool.h"
-
+#include "cache.h"
#include "cache-tree.h"
#include "commit.h"
#include "hex.h"
@@ -1,5 +1,5 @@
-#include "git-compat-util.h"
#include "test-tool.h"
+#include "cache.h"
#include "hex.h"
#include "strbuf.h"
#include "object-store.h"
@@ -1,4 +1,5 @@
#include "test-tool.h"
+#include "cache.h"
#include "alloc.h"
#include "commit.h"
#include "commit-reach.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "config.h"
#include "hex.h"
@@ -1,7 +1,6 @@
#ifndef TRANSPORT_H
#define TRANSPORT_H
-#include "cache.h"
#include "run-command.h"
#include "remote.h"
#include "list-objects-filter-options.h"
@@ -1,4 +1,4 @@
-#include "git-compat-util.h"
+#include "cache.h"
#include "alloc.h"
#include "repository.h"
#include "refs.h"