blob: 61fe462d7624af0a871bf90ca6e162bad5f09c92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
module Gitlab
module GitalyClient
class Commit
attr_reader :repository, :gitaly_commit
delegate :id, :subject, :body, :author, :committer, :parent_ids, to: :gitaly_commit
def initialize(repository, gitaly_commit)
@repository = repository
@gitaly_commit = gitaly_commit
end
end
end
end
|