use crate::Commit; #[derive(Clone, Debug, Hash, PartialEq, Eq, derive_more::Display)] pub struct GitRef(String); impl From for GitRef { fn from(value: Commit) -> Self { Self(value.sha().to_string()) } }