Skip to content

Remove unneeded || @commit.id [can be updated]

Created by: cirosantilli

I think this is not necessary because the commit is always taken from the id: https://github.com/gitlabhq/gitlabhq/blob/e37461979a5eb890975125134e7717c470c76a5f/lib/extracts_path.rb#L105

unless @options[:extended_sha1] is present, which only happens for the network, and never for trees.

Merge request reports

Loading