Skip to content
Snippets Groups Projects

Remove the temporary patch for "listing commits failed" error

Merged Vasilii Iakliushin requested to merge 452488_remove_the_temporary_patch into master
All threads resolved!
2 files
+ 0
25
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 0
5
@@ -170,11 +170,6 @@ def commits(ref = nil, opts = {})
@@ -170,11 +170,6 @@ def commits(ref = nil, opts = {})
commits = Commit.decorate(commits, container) if commits.present?
commits = Commit.decorate(commits, container) if commits.present?
CommitCollection.new(container, commits, ref)
CommitCollection.new(container, commits, ref)
rescue Gitlab::Git::CommandError => e
# Temporary fix to address a new Gitaly internal error: https://gitlab.com/gitlab-org/gitlab/-/issues/452488
return CommitCollection.new(container, [], ref) if e.message.include?('listing commits failed')
raise
end
end
def commits_between(from, to, limit: nil)
def commits_between(from, to, limit: nil)
Loading