You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifically, getting references is now done using git/matching-refs instead of git/refs.
See #822, #842, #844, #845. Also see #852 for likely feature that needs to be added to make this safe.
That said 2.18 will be unsupported after August 2020. Perhaps the right behavior is to try default to the new API and have a switch to enable the old one.
The text was updated successfully, but these errors were encountered:
bitwiseman
changed the title
Update to handle current git references api
Update to handle updated git references api
Jul 7, 2020
Version 2.18 and older use this:
https://docs.github.com/en/enterprise/2.18/user/rest/reference/git#get-all-references
Version 2.19 and new use this:
https://docs.github.com/en/rest/reference/git#references
Specifically, getting references is now done using
git/matching-refs
instead ofgit/refs
.See #822, #842, #844, #845. Also see #852 for likely feature that needs to be added to make this safe.
That said 2.18 will be unsupported after August 2020. Perhaps the right behavior is to try default to the new API and have a switch to enable the old one.
The text was updated successfully, but these errors were encountered: