summaryrefslogtreecommitdiff
path: root/src/clone.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-01-27 14:12:29 -0800
committerBen Straub <bs@github.com>2014-01-30 15:52:13 -0800
commitb31ebfbc666202fb576f7eb406d7a699134da09d (patch)
tree0abe6c1811c595e41cb18c5adbd0e40756737148 /src/clone.c
parent67c4716f74f322b79a3e4355c273bc423eb58ec6 (diff)
downloadlibgit2-b31ebfbc666202fb576f7eb406d7a699134da09d.tar.gz
Add reflog params to git_branch_create
Diffstat (limited to 'src/clone.c')
-rw-r--r--src/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clone.c b/src/clone.c
index 2bf2fc509..288e9d2c8 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -38,7 +38,7 @@ static int create_branch(
return error;
/* Create the new branch */
- error = git_branch_create(&branch_ref, repo, name, head_obj, 0);
+ error = git_branch_create(&branch_ref, repo, name, head_obj, 0, NULL, NULL);
git_commit_free(head_obj);