pub fn get_auto_switch_branches(repo: &Repo) -> Result<bool>
If true, switch to the branch associated with a target commit instead of the commit directly.
true
The switch will only occur if it is the only branch on the target commit.