mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
Fix blob and repo stuff after gitlab_git v3
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user