summaryrefslogtreecommitdiff
path: root/include/git2/refdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/refdb.h')
-rw-r--r--include/git2/refdb.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/git2/refdb.h b/include/git2/refdb.h
index 0586b119e..76b8fda0d 100644
--- a/include/git2/refdb.h
+++ b/include/git2/refdb.h
@@ -35,7 +35,12 @@ GIT_EXTERN(git_reference *) git_reference__alloc(
git_refdb *refdb,
const char *name,
const git_oid *oid,
- const char *symbolic);
+ const git_oid *peel);
+
+GIT_EXTERN(git_reference *) git_reference__alloc_symbolic(
+ git_refdb *refdb,
+ const char *name,
+ const char *target);
/**
* Create a new reference database with no backends.