XAMPPRocky / octocrab

A modern, extensible GitHub API Client for Rust.
Other
1.06k stars 258 forks source link

Reference::Commit is based on a documentation error #608

Open flying-sheep opened 5 months ago

flying-sheep commented 5 months ago

See https://github.com/github/docs/issues/31914

Despite GitHub’s failure to communicate how they resolved it, the documentation was changed from mentioning “commit sha” as a valid option for ref to not mentioning that, so I assume the only valid options are git refs (refs/heads/..., refs/tags/... and so on)

So I guess Reference::Commit should be deleted, as using it just gives you 404 errors.