Skip to main content

build_patch_subject

Function build_patch_subject 

Source
pub fn build_patch_subject(
    prefix: &str,
    keep_subject: bool,
    use_numbering: bool,
    patch_num: usize,
    display_total: usize,
    subject_line: &str,
) -> String
Expand description

Build a patch Subject value: [<prefix> n/m] <subject> with proper handling of empty prefix.