Fix passing of checkout options in update_cached_repo().
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2502081574
commit
b8eb56d50b
|
@ -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);
|
||||
}
|
||||
|
|
Reference in New Issue