summaryrefslogtreecommitdiff
path: root/lib/gitlab/signed_commit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/signed_commit.rb')
-rw-r--r--lib/gitlab/signed_commit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/signed_commit.rb b/lib/gitlab/signed_commit.rb
index 809e0a3f034..7a154978938 100644
--- a/lib/gitlab/signed_commit.rb
+++ b/lib/gitlab/signed_commit.rb
@@ -4,6 +4,8 @@ module Gitlab
class SignedCommit
include Gitlab::Utils::StrongMemoize
+ delegate :id, to: :@commit
+
def initialize(commit)
@commit = commit