Skip to content

Commit

Permalink
Call git_remote_update_tips before git_remote_disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
phkelley committed Nov 22, 2012
1 parent 5d4cdb0 commit 5cf1b4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests-clar/fetchhead/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5cf1b4f

Please sign in to comment.