summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-04-20 01:50:43 -0700
committerVicent Martí <vicent@github.com>2013-04-20 01:50:43 -0700
commitcf97799ed31ebb8cc4d44f7fd6ff86a5bc1b2e8b (patch)
tree4c8133d7595b355e3150b4525e25ad25103d10ff /include
parent4a38143c93dc705bc40109e3f79d7fac722d44d7 (diff)
parent4e4eab52f7c5062ea21ea278a38e48700e753883 (diff)
downloadlibgit2-cf97799ed31ebb8cc4d44f7fd6ff86a5bc1b2e8b.tar.gz
Merge pull request #1491 from ethomson/backends_dont_refdb
alloc doesn't take a refdb
Diffstat (limited to 'include')
-rw-r--r--include/git2/refdb.h2
-rw-r--r--include/git2/refdb_backend.h3
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