diff options
Diffstat (limited to 'src/libgit2/repository.h')
-rw-r--r-- | src/libgit2/repository.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libgit2/repository.h b/src/libgit2/repository.h index 6d2b64c..f45a359 100644 --- a/src/libgit2/repository.h +++ b/src/libgit2/repository.h @@ -173,6 +173,7 @@ GIT_INLINE(git_attr_cache *) git_repository_attr_cache(git_repository *repo) return repo->attrcache; } +int git_repository_head_commit(git_commit **commit, git_repository *repo); int git_repository_head_tree(git_tree **tree, git_repository *repo); int git_repository_create_head(const char *git_dir, const char *ref_name); @@ -280,4 +281,7 @@ int git_repository__set_objectformat( git_repository *repo, git_oid_t oid_type); +/* SHA256-aware internal functions */ +int git_repository__new(git_repository **out, git_oid_t oid_type); + #endif |