Closed millibeckers closed 1 year ago
Hey Milli. Thanks for the bug report!
Will take a look.
I've fixed it so that the View-button no longer appear when it can't find a remote URL in the upcoming version.
If you want to extend the behavior of the extension please submit a feature request.
Amazing, thank you for the quick turnaround!
Steps to Reproduce
git init
. Do not add any remotes. (Verify withgit remote
- there should be no output)Observed Behavior
'View' button appears on popup and leads to the link
https://origin//commit/<commitHash>
. Obviously this link does not work.Expected Behavior
The 'view' button probably shouldn't appear for local-only repositories.
If you wanted to get really fancy you could potentially update it to open a new tab in VSCode with the results of
git show <commitHash>
or something like that, but that's more of a feature request.