summaryrefslogtreecommitdiff
path: root/src/branch.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-18 21:38:08 -0700
committerBen Straub <bs@github.com>2012-11-27 13:17:45 -0800
commit2508cc66eb91597b12dc19721d9cea1f06e72107 (patch)
tree89e0ec2a924d9dc6b66461f462afbb999045ad27 /src/branch.c
parent469827812f95e979e3c6468567b2c9ed138a9849 (diff)
downloadlibgit2-2508cc66eb91597b12dc19721d9cea1f06e72107.tar.gz
Rename ref and reflog apis for consistency
Diffstat (limited to 'src/branch.c')
-rw-r--r--src/branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/branch.c b/src/branch.c
index c6173caca..87ee7084f 100644
--- a/src/branch.c
+++ b/src/branch.c
@@ -77,7 +77,7 @@ int git_branch_create(
if (git_buf_joinpath(&canonical_branch_name, GIT_REFS_HEADS_DIR, branch_name) < 0)
goto cleanup;
- error = git_reference_create_oid(&branch, repository,
+ error = git_reference_create(&branch, repository,
git_buf_cstr(&canonical_branch_name), git_object_id(commit), force);
if (!error)