Commit 8b5cd5fe authored by Igor Drozdov's avatar Igor Drozdov

Merge branch '214780-limit-commits-used-in-signature-updating' into 'master'

Limit commits used in signature updating

Closes #214780

See merge request gitlab-org/gitlab!30563
parents 1a138de0 c38a8b50
......@@ -112,7 +112,7 @@ module Git
end
def enqueue_update_signatures
unsigned = unsigned_x509_shas(commits) & unsigned_gpg_shas(commits)
unsigned = unsigned_x509_shas(limited_commits) & unsigned_gpg_shas(limited_commits)
return if unsigned.empty?
signable = Gitlab::Git::Commit.shas_with_signatures(project.repository, unsigned)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment