diff options
author | Ben Straub <bstraub@github.com> | 2012-07-27 11:23:44 -0700 |
---|---|---|
committer | Ben Straub <bstraub@github.com> | 2012-07-27 11:23:44 -0700 |
commit | 7affe23db01257cfd7fe8431dea31d5924e106fd (patch) | |
tree | acb40c99b046383253b61d4810711c6f70166a9e /src/clone.c | |
parent | a4827a5b5c2a9d2d8a35a5a76adcc9881a11b07b (diff) | |
download | libgit2-7affe23db01257cfd7fe8431dea31d5924e106fd.tar.gz |
Use new git_remote_update_tips signature.
Diffstat (limited to 'src/clone.c')
-rw-r--r-- | src/clone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clone.c b/src/clone.c index 47bd16d84..f5421b56c 100644 --- a/src/clone.c +++ b/src/clone.c @@ -176,7 +176,7 @@ static int setup_remotes_and_fetch(git_repository *repo, if (!git_remote_connect(origin, GIT_DIR_FETCH)) { if (!git_remote_download(origin, &bytes, fetch_stats)) { /* Create "origin/foo" branches for all remote branches */ - if (!git_remote_update_tips(origin, NULL)) { + if (!git_remote_update_tips(origin)) { /* Point HEAD to the same ref as the remote's head */ if (!update_head_to_remote(repo, origin)) { retcode = 0; |