(root: &Path, message: &str)
| 51 | } |
| 52 | |
| 53 | fn commit_all(root: &Path, message: &str) -> String { |
| 54 | git_ok(root, &["add", "--all"]); |
| 55 | git_ok(root, &["commit", "-q", "-m", message]); |
| 56 | git_text(root, &["rev-parse", "HEAD"]) |
| 57 | } |
| 58 | |
| 59 | fn git_object(root: &Path, spec: &str) -> Option<Vec<u8>> { |
| 60 | let output = git(root, &["show", spec]); |
no test coverage detected