Skip to content
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

Link support for optimized (limited ref) clones in Azure DevOps #4079

Open
scaryrawr opened this issue Feb 20, 2025 · 0 comments
Open

Link support for optimized (limited ref) clones in Azure DevOps #4079

scaryrawr opened this issue Feb 20, 2025 · 0 comments
Labels
triage Needs to be looked at

Comments

@scaryrawr
Copy link

Description

Azure DevOps has a feature called Limited Refs.

The way to use this is to add _optimized to the clone URL instead of the standard URL:

git clone https://dev.azure.com/org/project/_git/_optimized/repo

Some issues that occur here is that Azure DevOps doesn't actually support commit/PR links with _optimized in the path (I should probably file a bug on ADO).

When using GitLens links for viewing commits/PRs on web, it includes the _optimized in the path which isn't handled by ADO, so the links end up getting routed incorrectly.

A work around (which isn't ideal to be fair), is to detect/remove the _optimized in the links so they work correctly with ADO.

I was hoping to find a way to configure this manually or if there's a way to have a custom handler for opening links in VS Code, but thought it would be good to share as a enhancement/feature request.

Thanks!

@scaryrawr scaryrawr added the triage Needs to be looked at label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs to be looked at
Projects
None yet
Development

No branches or pull requests

1 participant