mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 00:25:29 +00:00
Call git_remote_update_tips before git_remote_disconnect
This commit is contained in:
parent
5d4cdb0494
commit
5cf1b4f094
@ -45,9 +45,8 @@ static void fetchhead_test_fetch(const char *fetchspec, const char *expected_fet
|
||||
|
||||
cl_git_pass(git_remote_connect(remote, GIT_DIR_FETCH));
|
||||
cl_git_pass(git_remote_download(remote, NULL, NULL));
|
||||
git_remote_disconnect(remote);
|
||||
|
||||
cl_git_pass(git_remote_update_tips(remote));
|
||||
git_remote_disconnect(remote);
|
||||
git_remote_free(remote);
|
||||
|
||||
cl_git_pass(git_futils_readbuffer(&fetchhead_buf,
|
||||
|
Loading…
Reference in New Issue
Block a user