1 2 3 4 5 6 7 8 9 10 11 12
pub enum CommitMode<'a> { WithEditor { message: Option<&'a str>, authors: Vec<String>, amend: bool, }, WithoutEditor { message: &'a str, authors: Vec<String>, amend: bool, }, }