Skip to main content

is_branch_merged

Function is_branch_merged 

Source
pub fn is_branch_merged(
    feature_branch: &str,
    base_branch: &str,
    repo: Option<&Path>,
) -> bool
Expand description

Check if a branch has been merged into the base branch.

Uses git branch --merged <base> and checks if the feature branch is in the list.