Describe the need
The create_ref method supports refnames with or without the refs/ prefix. This is a really nice quality of life feature for consistency. The following ref methods do not include this:
ref
update_ref
delete_ref
It would be great to add this support for these methods as well.
SDK Version
No response
API Version
No response
Relevant log output
> client.ref("tmobaird/octokit-testing", "refs/heads/tmobaird-patch-1")
/Users/tmobaird/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/octokit-10.0.0/lib/octokit/response/raise_error.rb:14:in `on_complete': GET https://api.github.com/repos/tmobaird/octokit-testing/git/refs/refs/heads/tmobaird-patch-1: 404 - Not Found // See: https://docs.github.com/rest/git/refs#get-all-references-in-a-namespace (Octokit::NotFound)
Code of Conduct
Describe the need
The
create_refmethod supports refnames with or without therefs/prefix. This is a really nice quality of life feature for consistency. The following ref methods do not include this:refupdate_refdelete_refIt would be great to add this support for these methods as well.
SDK Version
No response
API Version
No response
Relevant log output
Code of Conduct