Skip to content
Snippets Groups Projects

GPG signed commits

Merged Alexis Reigel requested to merge siemens/gitlab-ce:feature/gpg-signed-commits into master
4 files
+ 52
99
Compare changes
  • Side-by-side
  • Inline
Files
4
  • 34810acd
    as we write the cache in the gpg commit class already the read should
    also happen there.
    
    This also removes all logic from the main commit class, which just
    proxies the call to the Gpg::Commit now.
+ 0
5
@@ -237,11 +237,6 @@ def status(ref = nil)
def signature
return @signature if defined?(@signature)
@signature = nil
cached_signature = GpgSignature.find_by(commit_sha: sha)
return cached_signature if cached_signature.present?
@signature = Gitlab::Gpg::Commit.new(self).signature
end
Loading