The method `set_head` does two things: 1. Compute the canonical head and set the default branch to target. 2. Set the symbolic reference `HEAD` to target the default branch. Split these two concerns into: 1. `set_default_branch_to_canonical_head` 2. `set_head_to_default_branch` |
||
|---|---|---|
| .. | ||
| src | ||
| CHANGELOG.md | ||
| Cargo.toml | ||
| build.rs | ||