aboutsummaryrefslogtreecommitdiffstats
path: root/object-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'object-store.c')
-rw-r--r--object-store.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/object-store.c b/object-store.c
index 0f1dcc113e..6ab50d25d3 100644
--- a/object-store.c
+++ b/object-store.c
@@ -4,9 +4,11 @@
#include "abspath.h"
#include "commit-graph.h"
#include "config.h"
+#include "dir.h"
#include "environment.h"
#include "gettext.h"
#include "hex.h"
+#include "khash.h"
#include "lockfile.h"
#include "loose.h"
#include "object-file-convert.h"
@@ -24,6 +26,9 @@
#include "submodule.h"
#include "write-or-die.h"
+KHASH_INIT(odb_path_map, const char * /* key: odb_path */,
+ struct object_directory *, 1, fspathhash, fspatheq)
+
/*
* This is meant to hold a *small* number of objects that you would
* want repo_read_object_file() to be able to return, but yet you do not want