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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -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),