(root: &Path)
| 43 | } |
| 44 | |
| 45 | fn init_git(root: &Path) { |
| 46 | git_ok(root, &["init", "-q"]); |
| 47 | git_ok(root, &["symbolic-ref", "HEAD", "refs/heads/main"]); |
| 48 | git_ok(root, &["config", "user.name", "Atomic Test"]); |
| 49 | git_ok(root, &["config", "user.email", "atomic@example.com"]); |
| 50 | git_ok(root, &["config", "core.autocrlf", "false"]); |
| 51 | } |
| 52 | |
| 53 | fn commit_all(root: &Path, message: &str) -> String { |
| 54 | git_ok(root, &["add", "--all"]); |
no test coverage detected