From 6474c67d200dff074bfbb34c946e9da01d18004d Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 7 Apr 2017 11:17:47 +0200 Subject: [PATCH] Remove spaces --- lib/gitlab/gitaly_client/commit.rb | 6 +++--- 1 file 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