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
{{ message }}
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
GitHub Extension for Visual Studio version: 2.3.4.54
Visual Studio version: 15.4.2
Repro:
Open solution that is in a git repo from our GitHub Enterprise.
Open any code (.cs) file (or .config, for instance).
Right-click on any line to view the context menu.
Expected: See a GitHub -> menu that has an Open/Link to GitHub link that will take me to the corresponding line in the repo/branch that I'm on at the time.
Actual: No GitHub menu.
Notes: I reported this to Phil Haack and he looped in Andreia Gaita on Twitter. She suggested I report this here.
Will email logs.
The text was updated successfully, but these errors were encountered:
Apologies for the delay. I've just tried this and indeed we seem to have a bug with Open/Link to GitHub on Enterprise instances.
The problem is at this line: repo.FullName returns the repo name in the form owner/name and it's being compared with ActiveRepo.Name which returns just the repro name.
Sorry about that - we'll get a fix in for the next release!
Fixes opening links on enterprise instances.
Previously we were comparing `repo.FullName == ActiveRepo.Name` which always failed as `repo.FullName` returns `owner/name` whereas `ActiveRepo.Name` just returns the `name` portion. Construct a full name for the active repo and check that.
Fixes#1291
Repro:
Expected: See a GitHub -> menu that has an Open/Link to GitHub link that will take me to the corresponding line in the repo/branch that I'm on at the time.
Actual: No GitHub menu.
Notes: I reported this to Phil Haack and he looped in Andreia Gaita on Twitter. She suggested I report this here.
Will email logs.
The text was updated successfully, but these errors were encountered: