Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-01-04 20:10:35 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-01-04 20:10:35 +0300
commit05d742a047cca3ded10e6e3a545e211a3592c89c (patch)
tree7e21a96232809d6a2a9399e822713fed5d3d4435 /app/services/git_operation_service.rb
parentecac2f1122f093455e7b9e5d054157241dcd5cff (diff)
Indent the way rubocop likes
Diffstat (limited to 'app/services/git_operation_service.rb')
-rw-r--r--app/services/git_operation_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/git_operation_service.rb b/app/services/git_operation_service.rb
index f36c0b082e4..00c85112873 100644
--- a/app/services/git_operation_service.rb
+++ b/app/services/git_operation_service.rb
@@ -90,8 +90,8 @@ class GitOperationService
# If repo was empty expire cache
repository.after_create if was_empty
- repository.after_create_branch if was_empty ||
- Gitlab::Git.blank_ref?(oldrev)
+ repository.after_create_branch if
+ was_empty || Gitlab::Git.blank_ref?(oldrev)
newrev
end