If browse-at-remote is called on detached head or
with browse-at-remote-prefer-symbolic set to nil, location is a commit
hash. Which produces URLs like
Remove 'refs/heads' prefix frome the URL. That will also remove the
prefix for branches and tags, but Stash works if the branch name
specified without 'refs/heads'. For example both URLs produce the same result:
Fixes #85
If browse-at-remote is called on detached head or with browse-at-remote-prefer-symbolic set to nil, location is a commit hash. Which produces URLs like
This URL is not recognised by stash. Stash expect the URL of format (note lack of 'refs%2Fheads'):
Remove 'refs/heads' prefix frome the URL. That will also remove the prefix for branches and tags, but Stash works if the branch name specified without 'refs/heads'. For example both URLs produce the same result: