-
- Downloads
Gracefully handle case when repository's root ref does not exist
This was failing regularly with an Error 500 when the API branches endpoint was used. Closes #40615
Showing
- changelogs/unreleased/sh-fix-root-ref-repository.yml 5 additions, 0 deletionschangelogs/unreleased/sh-fix-root-ref-repository.yml
- lib/gitlab/git/repository.rb 5 additions, 1 deletionlib/gitlab/git/repository.rb
- spec/lib/gitlab/git/repository_spec.rb 10 additions, 0 deletionsspec/lib/gitlab/git/repository_spec.rb
Please register or sign in to comment