Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2013-03-02 01:37:33 +0400
committerEdward Thomson <ethomson@edwardthomson.com>2013-03-07 21:01:52 +0400
commitd00d54645d931c77a9b401518c0d73e3f640454b (patch)
treee1932dcc97172a53524e9db1ba4923cf137a4f9c /src/repository.h
parent6a9ef012376e8a21dcfd0499ab16048eb6e954c3 (diff)
immutable references and a pluggable ref database
Diffstat (limited to 'src/repository.h')
-rw-r--r--src/repository.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/repository.h b/src/repository.h
index f19758fe4..ebd797cc1 100644
--- a/src/repository.h
+++ b/src/repository.h
@@ -21,6 +21,7 @@
#include "object.h"
#include "attr.h"
#include "strmap.h"
+#include "refdb.h"
#define DOT_GIT ".git"
#define GIT_DIR DOT_GIT "/"
@@ -79,11 +80,11 @@ enum {
/** Internal structure for repository object */
struct git_repository {
git_odb *_odb;
+ git_refdb *_refdb;
git_config *_config;
git_index *_index;
git_cache objects;
- git_refcache references;
git_attr_cache attrcache;
git_strmap *submodules;
@@ -112,6 +113,7 @@ int git_repository_head_tree(git_tree **tree, git_repository *repo);
*/
int git_repository_config__weakptr(git_config **out, git_repository *repo);
int git_repository_odb__weakptr(git_odb **out, git_repository *repo);
+int git_repository_refdb__weakptr(git_refdb **out, git_repository *repo);
int git_repository_index__weakptr(git_index **out, git_repository *repo);
/*