diff options
author | Robert Speicher <robert@gitlab.com> | 2017-08-16 21:34:55 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-08-16 21:34:55 +0300 |
commit | ec34b2d051c16a351387fbaedb5542654810b8a5 (patch) | |
tree | e08e965390b86e187321d83957c99a45190a698a /app/models/commit.rb | |
parent | 72d5165bd57472692c77d6a9d159e65058513bf3 (diff) | |
parent | ba7251fefd92b0ecb6365cfe55510e24c5343ac6 (diff) |
Merge branch 'dm-gpg-signature-performance' into 'master'
Only create commit GPG signature when necessary
See merge request !13561
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index 5ca2f150247..d41c88b4e30 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -383,6 +383,6 @@ class Commit end def gpg_commit - @gpg_commit ||= Gitlab::Gpg::Commit.new(self) + @gpg_commit ||= Gitlab::Gpg::Commit.for_commit(self) end end |