Remove Serde derives from Git reference type (#10798)

This commit is contained in:
Charlie Marsh
2025-01-20 20:35:56 -05:00
committed by GitHub
parent 4354c0c9b7
commit eabcc94cbc
+1 -3
View File
@@ -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),