summaryrefslogtreecommitdiff
path: root/src/refs.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-11-20 17:06:54 -0800
committerBen Straub <bs@github.com>2012-11-27 13:18:28 -0800
commitd9023dbe0cb5d47e30d86149701b7be9006f7683 (patch)
treead31e3803774596600bd114fb7aa9d71d1e17cdb /src/refs.c
parent9cd423583fc8ccb7402b2fb65478cc532d011abc (diff)
downloadlibgit2-d9023dbe0cb5d47e30d86149701b7be9006f7683.tar.gz
API updates for tag.h
Diffstat (limited to 'src/refs.c')
-rw-r--r--src/refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refs.c b/src/refs.c
index 1882093cf..76c9f42ba 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -647,7 +647,7 @@ static int packed_find_peel(git_repository *repo, struct packref *ref)
/*
* Find the object pointed at by this tag
*/
- git_oid_cpy(&ref->peel, git_tag_target_oid(tag));
+ git_oid_cpy(&ref->peel, git_tag_target_id(tag));
ref->flags |= GIT_PACKREF_HAS_PEEL;
/*