Fix blob and repo stuff after gitlab_git v3

This commit is contained in:
Dmitriy Zaporozhets
2013-10-01 18:26:55 +03:00
parent 836c870cc9
commit 1d3f03fb69
6 changed files with 19 additions and 10 deletions

View File

@ -107,6 +107,8 @@ module ExtractsPath
@commit = @repo.commit(@options[:extended_sha1])
end
raise InvalidPathError unless @commit
@hex_path = Digest::SHA1.hexdigest(@path)
@logs_path = logs_file_project_ref_path(@project, @ref, @path)