Skip to main content

git_log_find_subject

Function git_log_find_subject 

Source
pub fn git_log_find_subject(
    dir: &Path,
    branch: &str,
    pattern: &str,
) -> Option<String>
Expand description

Find the newest commit reachable from branch whose subject contains pattern as a fixed string. Returns the full SHA, or None if no such commit exists.