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.
|
||||
#[derive(
|
||||
Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, serde::Serialize, serde::Deserialize,
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||
pub enum GitReference {
|
||||
/// A specific branch.
|
||||
Branch(String),
|
||||
|
|
|
|||
Loading…
Reference in New Issue