Skip to main content

merge_base

Function merge_base 

Source
pub fn merge_base(repo_path: &Path, branch: &str) -> Result<String>
Expand description

Compute the merge-base between HEAD and the given branch. Returns the commit SHA as a string. Used when --merge-base is passed.