Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2012-11-22 20:16:35 +0400
committerPhilip Kelley <phkelley@hotmail.com>2012-11-22 20:16:35 +0400
commit5cf1b4f094eb6f724b27aa01d4f0481de2e673af (patch)
tree008c28e6aebc5ff21c624eed58848fcd42b3331b /tests-clar/fetchhead
parent5d4cdb0494267fc778eaa0f587978e1b25564dcd (diff)
Call git_remote_update_tips before git_remote_disconnect
Diffstat (limited to 'tests-clar/fetchhead')
-rw-r--r--tests-clar/fetchhead/network.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests-clar/fetchhead/network.c b/tests-clar/fetchhead/network.c
index ef9d01bf9..fa3b92c82 100644
--- a/tests-clar/fetchhead/network.c
+++ b/tests-clar/fetchhead/network.c
@@ -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,