mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 17:57:25 +00:00
Use new git_remote_update_tips signature.
This commit is contained in:
parent
a4827a5b5c
commit
7affe23db0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user