diff options
author | Russell Belfer <rb@github.com> | 2013-04-21 12:52:17 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-04-21 12:52:17 -0700 |
commit | 21ca045100337bcb2905a20a72d42721d18871f9 (patch) | |
tree | 1db8654b2f7e2dd961d2f7fb3c9ea98c3d57cb61 /include/git2/refdb.h | |
parent | 4dcd87801972e1b880afa9cd0998842bae7af5b5 (diff) | |
download | libgit2-21ca045100337bcb2905a20a72d42721d18871f9.tar.gz |
Move git_reference__alloc to include/git2/sys
Create a new include/git2/sys/refs.h and move the reference alloc
functions there. Also fix some documentation issues and some
minor code cleanups.
Diffstat (limited to 'include/git2/refdb.h')
-rw-r--r-- | include/git2/refdb.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/git2/refdb.h b/include/git2/refdb.h index 9278b1116..a315876ae 100644 --- a/include/git2/refdb.h +++ b/include/git2/refdb.h @@ -22,25 +22,6 @@ GIT_BEGIN_DECL /** - * Create a new reference. Either an oid or a symbolic target must be - * specified. - * - * @param refdb the reference database to associate with this reference - * @param name the reference name - * @param oid the object id for a direct reference - * @param symbolic the target for a symbolic reference - * @return the created git_reference or NULL on error - */ -GIT_EXTERN(git_reference *) git_reference__alloc( - const char *name, - const git_oid *oid, - const git_oid *peel); - -GIT_EXTERN(git_reference *) git_reference__alloc_symbolic( - const char *name, - const char *target); - -/** * Create a new reference database with no backends. * * Before the Ref DB can be used for read/writing, a custom database |