uv/crates/uv-git
Ibraheem Ahmed 58499439d3
Fix implementation of GitDatabase::contains (#4698)
## Summary

`GitDatabase::contains` previously only parsed the commit to see if it
was a valid hash and didn't verify if the commit existed in the object
database. This led to the database never being updated.

Resolves https://github.com/astral-sh/uv/issues/4378.

## Test Plan

Added a test that fails without this change.
2024-07-01 13:01:29 -04:00
..
src Fix implementation of GitDatabase::contains (#4698) 2024-07-01 13:01:29 -04:00
Cargo.toml Use shared client in Git fetch implementation (#4487) 2024-06-24 17:09:29 -04:00