This PR adds support for browsing codeberg.org remotes.
Since the codeberg region URL depends on whether the location is a symbolic branch name or a commit hash, I updated the return of browse-at-remote--remote-ref to return whether the ref is a branch name or commit hash unambiguously. I updated the call to the fomat-region-url-as-* functions to include this location-type. Right now it is only used by the codeberg formatter.
This PR adds support for browsing codeberg.org remotes.
Since the codeberg region URL depends on whether the location is a symbolic branch name or a commit hash, I updated the return of
browse-at-remote--remote-ref
to return whether the ref is a branch name or commit hash unambiguously. I updated the call to thefomat-region-url-as-*
functions to include thislocation-type
. Right now it is only used by the codeberg formatter.