summaryrefslogtreecommitdiffstats
path: root/object-store.h
diff options
context:
space:
mode:
authorDerrick Stolee <stolee@gmail.com>2018-07-12 21:39:23 +0200
committerJunio C Hamano <gitster@pobox.com>2018-07-20 20:27:28 +0200
commit4d80560c546179654c32499132a6bdaf3c45b16f (patch)
tree8d6d74755e0d85b4924926b0f37c3367b90dd0b9 /object-store.h
parentmidx: write header information to lockfile (diff)
downloadgit-4d80560c546179654c32499132a6bdaf3c45b16f.tar.xz
git-4d80560c546179654c32499132a6bdaf3c45b16f.zip
multi-pack-index: load into memory
Create a new multi_pack_index struct for loading multi-pack-indexes into memory. Create a test-tool builtin for reading basic information about that multi-pack-index to verify the correct data is written. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-store.h')
-rw-r--r--object-store.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/object-store.h b/object-store.h
index d683112fd7..13a766aea8 100644
--- a/object-store.h
+++ b/object-store.h
@@ -84,6 +84,8 @@ struct packed_git {
char pack_name[FLEX_ARRAY]; /* more */
};
+struct multi_pack_index;
+
struct raw_object_store {
/*
* Path to the repository's object store.