(root: &Path, message: &str)
| 142 | } |
| 143 | |
| 144 | fn git_commit(root: &Path, message: &str) -> String { |
| 145 | git(root, &["add", "-A", "--"]); |
| 146 | git(root, &["commit", "-q", "-m", message]); |
| 147 | git(root, &["rev-parse", "HEAD"]) |
| 148 | } |
| 149 | |
| 150 | fn open_repo(root: &Path) -> atomic_repository::Repository { |
| 151 | atomic_repository::Repository::open(root).unwrap() |
no test coverage detected