pub fn current_branch(repo: &Repository) -> Result<BranchHead>Expand description
Resolve the checked-out branch, rejecting states a rewrite cannot handle.
pub fn current_branch(repo: &Repository) -> Result<BranchHead>Resolve the checked-out branch, rejecting states a rewrite cannot handle.