diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-04-07 11:17:47 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-04-07 12:53:30 +0200 |
commit | 6474c67d200dff074bfbb34c946e9da01d18004d (patch) | |
tree | c9b1c89125127f053efb30b4c1c67198cb6a3061 | |
parent | 6a07a2430b24fe8040124b103029b0129996c3e5 (diff) | |
download | gitlab-ce-6474c67d200dff074bfbb34c946e9da01d18004d.tar.gz |
Remove spaces
-rw-r--r-- | lib/gitlab/gitaly_client/commit.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/gitaly_client/commit.rb b/lib/gitlab/gitaly_client/commit.rb index 0c38a47178d..b7f39f3ef0b 100644 --- a/lib/gitlab/gitaly_client/commit.rb +++ b/lib/gitlab/gitaly_client/commit.rb @@ -9,10 +9,10 @@ module Gitlab def diff_from_parent(commit, options = {}) repository = commit.project.repository gitaly_repo = repository.gitaly_repository - stub = Gitaly::Diff::Stub.new(nil, nil, channel_override: repository.gitaly_channel) - parent = commit.parents[0] + stub = Gitaly::Diff::Stub.new(nil, nil, channel_override: repository.gitaly_channel) + parent = commit.parents[0] parent_id = parent ? parent.id : EMPTY_TREE_ID - request = Gitaly::CommitDiffRequest.new( + request = Gitaly::CommitDiffRequest.new( repository: gitaly_repo, left_commit_id: parent_id, right_commit_id: commit.id |