diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2013-04-19 18:19:53 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2013-04-19 18:43:17 -0500 |
| commit | 4e4eab52f7c5062ea21ea278a38e48700e753883 (patch) | |
| tree | 4c8133d7595b355e3150b4525e25ad25103d10ff /include | |
| parent | 4a38143c93dc705bc40109e3f79d7fac722d44d7 (diff) | |
| download | libgit2-4e4eab52f7c5062ea21ea278a38e48700e753883.tar.gz | |
alloc doesn't take a refdb; git_refdb_free nicely in the tests
Diffstat (limited to 'include')
| -rw-r--r-- | include/git2/refdb.h | 2 | ||||
| -rw-r--r-- | include/git2/refdb_backend.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/git2/refdb.h b/include/git2/refdb.h index 76b8fda0d..0e3ec5eaf 100644 --- a/include/git2/refdb.h +++ b/include/git2/refdb.h @@ -32,13 +32,11 @@ GIT_BEGIN_DECL * @return the created git_reference or NULL on error */ GIT_EXTERN(git_reference *) git_reference__alloc( - git_refdb *refdb, const char *name, const git_oid *oid, const git_oid *peel); GIT_EXTERN(git_reference *) git_reference__alloc_symbolic( - git_refdb *refdb, const char *name, const char *target); diff --git a/include/git2/refdb_backend.h b/include/git2/refdb_backend.h index bf33817d6..20eb6a9dd 100644 --- a/include/git2/refdb_backend.h +++ b/include/git2/refdb_backend.h @@ -101,8 +101,7 @@ struct git_refdb_backend { */ GIT_EXTERN(int) git_refdb_backend_fs( struct git_refdb_backend **backend_out, - git_repository *repo, - git_refdb *refdb); + git_repository *repo); GIT_END_DECL |
