summaryrefslogtreecommitdiff
path: root/src/refs.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-02-27 22:31:43 +0200
committerVicent Marti <tanoku@gmail.com>2011-03-03 20:23:50 +0200
commit87d3acf45eb1a63b5847bca2061a993471b8b1ee (patch)
treefe1c9ad96065ba92a838f62a3c49ccb91f6425b9 /src/refs.h
parent17cdf25208202300def293ce1997b97aeb517586 (diff)
downloadlibgit2-87d3acf45eb1a63b5847bca2061a993471b8b1ee.tar.gz
Finish the References API
The following methods have been implemented: git_reference_packall git_reference_rename git_reference_delete The library now has full support for packed references, including partial and total writing. Internal documentation has been updated with the details. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/refs.h')
-rw-r--r--src/refs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/refs.h b/src/refs.h
index 5fc71fc83..6efc61b86 100644
--- a/src/refs.h
+++ b/src/refs.h
@@ -23,10 +23,8 @@ struct git_reference {
};
typedef struct {
- git_hashtable *packed_refs;
- git_hashtable *loose_refs;
-
- unsigned pack_loaded:1;
+ git_hashtable *packfile;
+ git_hashtable *loose_cache;
} git_refcache;