diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-04-22 16:11:10 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-13 09:46:36 +0200 |
commit | 3eff2a57289ec19b1a805dd938299d1dcae47097 (patch) | |
tree | 3bd01239ee483c5a8d60768228d9968f2ff90611 /tests/online | |
parent | 058b753ceb8f6b25b77e57106b3a87997bc6362a (diff) | |
download | libgit2-3eff2a57289ec19b1a805dd938299d1dcae47097.tar.gz |
remote: move the update_fetchhead setting to the options
While this will rarely be different from the default, having it in the
remote adds yet another setting it has to keep around and can affect its
behaviour. Move it to the options.
Diffstat (limited to 'tests/online')
-rw-r--r-- | tests/online/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/online/fetch.c b/tests/online/fetch.c index 1a0f05039..da0df0ad5 100644 --- a/tests/online/fetch.c +++ b/tests/online/fetch.c @@ -127,7 +127,7 @@ void test_online_fetch__doesnt_retrieve_a_pack_when_the_repository_is_up_to_date cl_assert_equal_i(false, invoked); - cl_git_pass(git_remote_update_tips(remote, &options.callbacks, NULL)); + cl_git_pass(git_remote_update_tips(remote, &options.callbacks, 1, NULL)); git_remote_disconnect(remote); git_remote_free(remote); |