diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-08-15 13:22:55 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-08-16 18:57:50 +0200 |
commit | ba7251fefd92b0ecb6365cfe55510e24c5343ac6 (patch) | |
tree | d572877f0150efa654849b97896ef769aeff6c0b /app/models/commit.rb | |
parent | 4a2a6d521a260981482ee8e4931ebf06cb4f5b6a (diff) | |
download | gitlab-ce-ba7251fefd92b0ecb6365cfe55510e24c5343ac6.tar.gz |
Only create commit GPG signature when necessarydm-gpg-signature-performance
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 638fddc5d3d..be9a56c190c 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 |