git-next/crates/core/src/config/branch_name.rs

15 lines
201 B
Rust
Raw Normal View History

use derive_more::derive::Display;
use serde::Serialize;
use crate::newtype;
newtype!(
BranchName,
String,
Display,
Default,
Hash,
Serialize,
"The name of a Git branch"
);