diff options
author | Patrick Steinhardt <ps@pks.im> | 2015-10-26 16:21:09 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-02-13 10:28:15 +0100 |
commit | 854b5c70e3f8f4701d005cbd0623f0bef8d00060 (patch) | |
tree | e762f0001f98ecbaf991fc0ab582de7897ed2f24 /src/repository.h | |
parent | 4292837d502fedbbf1f24abe355eb349e4b3b0c9 (diff) | |
download | libgit2-854b5c70e3f8f4701d005cbd0623f0bef8d00060.tar.gz |
repository: expose `repo_init_create_head`
Expose the function `repo_init_create_head` as
`git_repository_create_head`.
Diffstat (limited to 'src/repository.h')
-rw-r--r-- | src/repository.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repository.h b/src/repository.h index de9ccb1e8..74e15e146 100644 --- a/src/repository.h +++ b/src/repository.h @@ -154,6 +154,7 @@ GIT_INLINE(git_attr_cache *) git_repository_attr_cache(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); /* * Weak pointers to repository internals. |