-
Notifications
You must be signed in to change notification settings - Fork 36.8k
Git Blame "Open on Github" supports any url #282970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Updated getRepositoryFromUrl and getRepositoryDefaultRemote functions to include baseUrl in the return type.
Updated getBranchLink and getCommitLink functions to use a base URL derived from hostPrefix or repo.baseUrl.
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @lszomoruMatched files:
|
@microsoft-github-policy-service agree |
Fixes #239878
Now instead of "Open on Github" in git blame github extension, it shows Open on .
baseUrl still comes from remote origin's url.