get_merge_target

Function get_merge_target 

Source
pub fn get_merge_target(
    storage: &Repository,
    head_branch: &Branch<'_>,
) -> Result<(RefString, Oid)>
Expand description

Determine the merge target for this patch. This can be any followed remote’s “default” branch, as well as your own (eg. rad/master).