Skip to main content

branch_patch

Function branch_patch 

Source
pub fn branch_patch(
    repo: &Path,
    merge_base: &str,
    pushed: &str,
) -> Result<String, String>
Expand description

The git patch-id --verbatim of the branch’s diff since merge_base, docs/plans/ left out. Err on an empty diff or any failure: a key that cannot be computed carries nothing over.