summaryrefslogtreecommitdiff
path: root/lib/extracts_path.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-05 16:51:04 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-05 16:51:04 +0300
commitb92655663c9f066de6a67217ad9a55f38e20cffd (patch)
tree90d1d1959c5f4ae086dddef66bff3118a6d9b239 /lib/extracts_path.rb
parentd602d5b1b05036788c67c13510c34725c68116ea (diff)
downloadgitlab-ce-b92655663c9f066de6a67217ad9a55f38e20cffd.tar.gz
Update main calls to gitlab_git
Diffstat (limited to 'lib/extracts_path.rb')
-rw-r--r--lib/extracts_path.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/extracts_path.rb b/lib/extracts_path.rb
index a81c80cfc6f..d1035240cb6 100644
--- a/lib/extracts_path.rb
+++ b/lib/extracts_path.rb
@@ -95,13 +95,9 @@ module ExtractsPath
# resolved (e.g., when a user inserts an invalid path or ref).
def assign_ref_vars
@id = get_id
-
@ref, @path = extract_ref(@id)
-
@repo = @project.repository
-
@commit = @repo.commit(@ref)
-
@tree = Tree.new(@repo, @commit.id, @ref, @path)
@hex_path = Digest::SHA1.hexdigest(@path)
@logs_path = logs_file_project_ref_path(@project, @ref, @path)