Commit 7affe23d by Ben Straub

Use new git_remote_update_tips signature.

parent a4827a5b
...@@ -176,7 +176,7 @@ static int setup_remotes_and_fetch(git_repository *repo, ...@@ -176,7 +176,7 @@ static int setup_remotes_and_fetch(git_repository *repo,
if (!git_remote_connect(origin, GIT_DIR_FETCH)) { if (!git_remote_connect(origin, GIT_DIR_FETCH)) {
if (!git_remote_download(origin, &bytes, fetch_stats)) { if (!git_remote_download(origin, &bytes, fetch_stats)) {
/* Create "origin/foo" branches for all remote branches */ /* 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 */ /* Point HEAD to the same ref as the remote's head */
if (!update_head_to_remote(repo, origin)) { if (!update_head_to_remote(repo, origin)) {
retcode = 0; retcode = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment