Skip to main content

commit_subject_in

Function commit_subject_in 

Source
pub fn commit_subject_in(cwd: &Path, sha: &str) -> Result<String>
Expand description

git log -1 --format=%s <sha> — return the subject line of a single commit. Used to render the “non-bump commit subject” list when the rollback safety check fires.