Commit ef76b17f authored by Alejandro Rodríguez's avatar Alejandro Rodríguez

Fix Gitlab::Git::RevList initialization after CE merge

parent 4918c888
...@@ -24,9 +24,7 @@ module EE ...@@ -24,9 +24,7 @@ module EE
# Returns a list of commits that are not present in any reference # Returns a list of commits that are not present in any reference
def new_commits(newrev) def new_commits(newrev)
refs = ::Gitlab::Git::RevList.new( refs = ::Gitlab::Git::RevList.new(raw, newrev: newrev).new_refs
path_to_repo: path_to_repo,
newrev: newrev).new_refs
refs.map { |sha| commit(sha.strip) } refs.map { |sha| commit(sha.strip) }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment