uv/crates/uv-git
Charlie Marsh dd3009ad84
Respect Git tags and branches that look like short commits (#2795)
## 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.
2024-04-03 22:05:54 -04:00
..
src Respect Git tags and branches that look like short commits (#2795) 2024-04-03 22:05:54 -04:00
Cargo.toml Avoid repeating paths of workspace packages (#2573) 2024-03-20 16:16:02 -04:00