Fix passing of checkout options in update_cached_repo().
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2020-10-14 02:37:59 +02:00
parent 2502081574
commit b8eb56d50b
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ void update_cached_repo()
git_checkout_options options = GIT_CHECKOUT_OPTIONS_INIT;
options.checkout_strategy = GIT_CHECKOUT_FORCE;
check(git_checkout_head(_repo, options));
check(git_checkout_head(_repo, &options));
git_remote_free(remote);
}