uv/crates/uv-git/src
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
..
git.rs Fix implementation of GitDatabase::contains (#4698) 2024-07-01 13:01:29 -04:00
lib.rs Respect resolved Git SHAs in uv lock (#3956) 2024-06-01 12:40:11 +00:00
resolver.rs Use shared client in Git fetch implementation (#4487) 2024-06-24 17:09:29 -04:00
sha.rs Port all git functionality to use git CLI (#3833) 2024-05-30 15:28:48 -04:00
source.rs Use shared client in Git fetch implementation (#4487) 2024-06-24 17:09:29 -04:00