summaryrefslogtreecommitdiff
path: root/include/git2/refdb.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-17 17:33:51 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-17 17:33:51 +0200
commit3be933b143731bbe3a5cadcdf70b8ab205a629c0 (patch)
tree9688ce16cb1fa2ee16499d20e5d501a2f3d98d90 /include/git2/refdb.h
parentf124ebd457bfbf43de3516629aaba5a279636e04 (diff)
downloadlibgit2-3be933b143731bbe3a5cadcdf70b8ab205a629c0.tar.gz
refs: Add `git_referene_target_peel`
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.