Issue #68. Verification must be disabled on each run.

This commit is contained in:
WrinklyNinja
2013-09-27 16:13:01 +01:00
parent 5cbcc8a273
commit 974638eb5c
+3 -3
View File
@@ -163,9 +163,6 @@ namespace boss {
//Now set the repository's remote.
handle_error(git_remote_create(&ptrs.remote, ptrs.repo, "origin", game.URL().c_str()), ptrs);
//WARNING: This is generally a very bad idea, since it makes HTTPS a little bit pointless, but in this case because we're only reading data and not really concerned about its integrity, it's acceptable. A better solution would be to figure out why GitHub's certificate appears to be invalid to OpenSSL.
git_remote_check_cert(ptrs.remote, 0);
BOOST_LOG_TRIVIAL(trace) << "Getting the repository config.";
handle_error(git_repository_config(&ptrs.cfg, ptrs.repo), ptrs);
@@ -186,6 +183,9 @@ namespace boss {
}
//WARNING: This is generally a very bad idea, since it makes HTTPS a little bit pointless, but in this case because we're only reading data and not really concerned about its integrity, it's acceptable. A better solution would be to figure out why GitHub's certificate appears to be invalid to OpenSSL.
git_remote_check_cert(ptrs.remote, 0);
BOOST_LOG_TRIVIAL(trace) << "Fetching updates from remote.";
//Now pull from the remote repository. This involves a fetch followed by a merge. First perform the fetch.