Skip to content
Snippets Groups Projects
Commit a32d0bf9 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

ConversationRepository: always prevent redirects

GitLab: #1008
Change-Id: I04128942baebdbe0956904b508485c1625ba32e3
parent d84d0c42
No related branches found
No related tags found
No related merge requests found
...@@ -3008,6 +3008,7 @@ ConversationRepository::fetch(const std::string& remoteDeviceId) ...@@ -3008,6 +3008,7 @@ ConversationRepository::fetch(const std::string& remoteDeviceId)
git_remote* remote_ptr = nullptr; git_remote* remote_ptr = nullptr;
git_fetch_options fetch_opts; git_fetch_options fetch_opts;
git_fetch_options_init(&fetch_opts, GIT_FETCH_OPTIONS_VERSION); git_fetch_options_init(&fetch_opts, GIT_FETCH_OPTIONS_VERSION);
fetch_opts.follow_redirects = GIT_REMOTE_REDIRECT_NONE;
LogOptions options; LogOptions options;
options.nbOfCommits = 1; options.nbOfCommits = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment