summaryrefslogtreecommitdiff
path: root/repository.h
diff options
context:
space:
mode:
Diffstat (limited to 'repository.h')
-rw-r--r--repository.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/repository.h b/repository.h
index f21fd93..09df94a 100644
--- a/repository.h
+++ b/repository.h
@@ -2,9 +2,10 @@
#define REPOSITORY_H
struct config_set;
+struct git_hash_algo;
struct index_state;
+struct raw_object_store;
struct submodule_cache;
-struct git_hash_algo;
struct repository {
/* Environment */
@@ -21,13 +22,9 @@ struct repository {
char *commondir;
/*
- * Path to the repository's object store.
- * Cannot be NULL after initialization.
+ * Holds any information related to accessing the raw object content.
*/
- char *objectdir;
-
- /* Path to extra alternate object database if not NULL */
- char *alternate_db;
+ struct raw_object_store *objects;
/*
* Path to the repository's graft file.