-
- Downloads
There was a problem fetching the pipeline summary.
Refactor Ref's `target` to be consistent with Rugged
!103 introduced an optimization where a Refs target would point to the dereferenced object, which saved us a lot operations, but became inconsistent with Rugged's API, where target would always reference the immediate object pointed at. These changes add a new property, dereference_target to be consistent with Rugged but still be able to get the target efficiently.
parent
382275e1
No related branches found
No related tags found
Pipeline #
Showing
- CHANGELOG 3 additions, 0 deletionsCHANGELOG
- lib/gitlab_git/ref.rb 14 additions, 2 deletionslib/gitlab_git/ref.rb
- lib/gitlab_git/repository.rb 1 addition, 4 deletionslib/gitlab_git/repository.rb
- lib/gitlab_git/tag.rb 4 additions, 10 deletionslib/gitlab_git/tag.rb
- spec/branch_spec.rb 2 additions, 2 deletionsspec/branch_spec.rb
- spec/repository_spec.rb 2 additions, 2 deletionsspec/repository_spec.rb
- spec/tag_spec.rb 4 additions, 4 deletionsspec/tag_spec.rb
Please register or sign in to comment