mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-24 17:16:02 +00:00
## Summary If we're given a Git reference like `20240222`, we currently treat it as a short commit hash. However... it _could_ be a branch or a tag. This PR improves the Git reference logic to ensure that ambiguous references like `20240222` are handled appropriately, by attempting to extract it as a branch, then a tag, then a short commit hash. Closes https://github.com/astral-sh/uv/issues/2772. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||