(root: &Path)
| 72 | } |
| 73 | |
| 74 | fn init_git(root: &Path) -> GitRepository { |
| 75 | let repository = GitRepository::init(root).expect("init Git"); |
| 76 | repository |
| 77 | .set_head("refs/heads/main") |
| 78 | .expect("set main HEAD"); |
| 79 | repository |
| 80 | } |
| 81 | |
| 82 | fn init_git_with_feature(root: &Path) -> (Oid, Oid) { |
| 83 | let repository = init_git(root); |
no test coverage detected