mirror of https://github.com/astral-sh/uv
Remove `Serde` derives from Git reference type (#10798)
This commit is contained in:
parent
4354c0c9b7
commit
eabcc94cbc
|
|
@ -41,9 +41,7 @@ pub static GIT: LazyLock<Result<PathBuf, GitError>> = LazyLock::new(|| {
|
||||||
});
|
});
|
||||||
|
|
||||||
/// A reference to commit or commit-ish.
|
/// A reference to commit or commit-ish.
|
||||||
#[derive(
|
#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||||
Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, serde::Serialize, serde::Deserialize,
|
|
||||||
)]
|
|
||||||
pub enum GitReference {
|
pub enum GitReference {
|
||||||
/// A specific branch.
|
/// A specific branch.
|
||||||
Branch(String),
|
Branch(String),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue