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:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2018-07-18 14:12:57 +0300
committerSean McGivern <sean@mcgivern.me.uk>2018-07-18 14:12:57 +0300
commit5c651daa97b57478f39f252adb7562c31b27ebe7 (patch)
treecf71488a639749fc9db07fa4026e880941958f9b /spec/support
parentaf6551f33b45a0063e20ddfa7f711842879b3a75 (diff)
Remove unreachable Git code
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/helpers/cycle_analytics_helpers.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/helpers/cycle_analytics_helpers.rb b/spec/support/helpers/cycle_analytics_helpers.rb
index 32d9807f06a..c228bd2393b 100644
--- a/spec/support/helpers/cycle_analytics_helpers.rb
+++ b/spec/support/helpers/cycle_analytics_helpers.rb
@@ -125,7 +125,8 @@ module CycleAnalyticsHelpers
_, opts = args
commit = Gitlab::GitalyClient::StorageSettings.allow_disk_access do
- raw_repository.commit(branch_update.newrev).rugged_commit
+ rugged = raw_repository.rugged
+ rugged.rev_parse(branch_update.newrev)
end
branch_update.newrev = commit.amend(