ConversationRepository: always prevent redirects

GitLab: #1008
Change-Id: I04128942baebdbe0956904b508485c1625ba32e3
This commit is contained in:
Adrien Béraud
2024-07-02 15:46:19 -04:00
parent d84d0c42ec
commit a32d0bf933

View File

@ -3008,6 +3008,7 @@ ConversationRepository::fetch(const std::string& remoteDeviceId)
git_remote* remote_ptr = nullptr;
git_fetch_options fetch_opts;
git_fetch_options_init(&fetch_opts, GIT_FETCH_OPTIONS_VERSION);
fetch_opts.follow_redirects = GIT_REMOTE_REDIRECT_NONE;
LogOptions options;
options.nbOfCommits = 1;